summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/armada-385-turris-omnia.dts
Commit message (Collapse)AuthorAgeFilesLines
* ARM: dts: turris-omnia: remove unneeded status = "okay" propertiesMarek Behún2020-11-301-2/+0
| | | | | | | | | | | | | | | | | | | Only nodes which have status = "disabled" defined from included files need status = "okay". The ethernet-phy node and the i2cmux node do not need it, since they are wholly defined here. Signed-off-by: Marek Behún <kabel@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* ARM: dts: turris-omnia: update ethernet-phy node and handle nameMarek Behún2020-11-301-3/+3
| | | | | | | | | | | | | | | | | | | | Use property name `phy-handle` instead of the deprecated `phy` to connect eth2 to the PHY. Rename the node from "phy@1" to "ethernet-phy@1", since "phy@1" is incorrect according to device-tree bindings documentation. Also remove the "ethernet-phy-id0141.0DD1" compatible string, it is not needed. Kernel can read the PHY identifier itself. Signed-off-by: Marek Behún <kabel@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* ARM: dts: turris-omnia: add LED controller nodeMarek Behún2020-11-301-1/+110
| | | | | | | | | | | | | | | | | | | | | | | | Linux now has incomplete support for the LED controller on Turris Omnia: it can set brightness and colors for each LED. The controller can also put these LEDs into HW controlled mode, in which the LEDs are controlled by HW: for example the WAN LED is connected via MCU to the WAN PHY LED pin. The driver does not support these HW controlled modes yet, and on probe puts the LEDs into SW controlled mode. Add node describing the LED controller, but disable it for now. Signed-off-by: Marek Behún <kabel@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* ARM: dts: turris-omnia: add SFP nodeMarek Behún2020-11-301-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | Turris Omnia has an SFP cage that, together with WAN PHY, is connected to eth2 SerDes via a SerDes multiplexor. When a SFP module is present, the multiplexor switches the SerDes signal from PHY to SFP. Describe the SFP cage, but leave it disabled. Until phylink has support for such configuration, we are leaving it to U-Boot to enable SFP and disable WAN PHY at boot time depending on whether a SFP module is present. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Reviewed-by: Andrew Lunn <andrew@lunn.ch> Cc: Russell King - ARM Linux admin <linux@armlinux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* ARM: dts: turris-omnia: describe switch interruptMarek Behún2020-11-301-1/+11
| | | | | | | | | | | | | | | | | | Describe switch interrupt for Turris Omnia so that the CPU does not have to poll the switch. We also need to to set mpp45 pin to gpio function for this. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* ARM: dts: turris-omnia: add comphy handle to eth2Marek Behún2020-11-301-0/+1
| | | | | | | | | | | | | | | | | | The eth2 controller on Turris Omnia is connected to SerDes. For SFP to be able to switch between 1G and 2.5G modes the comphy link has to be defined. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: f3a6a9f3704a ("ARM: dts: add description for Armada 38x ...") Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Andreas Färber <afaerber@suse.de> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* ARM: dts: turris-omnia: enable HW buffer managementMarek Behún2020-11-301-0/+17
| | | | | | | | | | | | | | | | | The buffer manager is available on Turris Omnia but needs to be described in device-tree to be used. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* arm: dts: armada-385-turris-omnia: use SPDX-License-IdentifierGregory CLEMENT2018-03-271-34/+1
| | | | | | | | | | | | | | | | | Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Acked-by: Uwe Kleine-König <uwe@kleine-koenig.org> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
* ARM: dts: marvell: fix PCI bus dtc warningsRob Herring2017-08-031-1/+1
| | | | | | | | | | | | dtc recently added PCI bus checks. Fix these warnings. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Gregory Clement <gregory.clement@free-electrons.com> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
* ARM: dts: turris-omnia: Add generic compatible string for I2C EEPROMJavier Martinez Canillas2017-06-171-1/+1
| | | | | | | | | | | | | | | | The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken into account so the driver defines only a set of compatible strings using the "atmel" vendor as a generic fallback for compatible I2C devices. So add this generic fallback to the device node compatible string to make the device to match the driver using the OF device ID table. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
* ARM: dts: turris-omnia: add support for ethernet switchUwe Kleine-König2017-01-051-3/+55
| | | | | | | | | | The Turris Omnia features a Marvell MV88E6176 ethernet switch. Add it to the dts. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
* ARM: dts: add support for Turris OmniaUwe Kleine-König2016-11-251-0/+340
This machine is an open hardware router by cz.nic driven by a Marvell Armada 385. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>