diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2018-12-17 16:10:03 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2019-01-21 11:39:49 +0100 |
commit | 7dd7c2e796ca6481c9341cf9df0328bdb5bd9fd8 (patch) | |
tree | 69167db4f18d5c3338babd99152513eea190a54c /arch/arm/dts/armada-3720-turris-mox.dts | |
parent | 9433cd1109ae61b2676ed4832ae75da79ec9083d (diff) | |
download | u-boot-7dd7c2e796ca6481c9341cf9df0328bdb5bd9fd8.tar.gz |
arm: mvebu: turris_mox: Check and configure modules
Check if Mox modules are connected in supported mode, then configure
the MDIO addresses of switch modules.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts/armada-3720-turris-mox.dts')
-rw-r--r-- | arch/arm/dts/armada-3720-turris-mox.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-3720-turris-mox.dts b/arch/arm/dts/armada-3720-turris-mox.dts index 7babc16679..ff54ce5d0f 100644 --- a/arch/arm/dts/armada-3720-turris-mox.dts +++ b/arch/arm/dts/armada-3720-turris-mox.dts @@ -110,6 +110,17 @@ spi-max-frequency = <20000000>; m25p,fast-read; }; + + moxtet@1 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "cznic,moxtet"; + reg = <1>; + reset-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>; + spi-max-frequency = <1000000>; + spi-cpol; + spi-cpha; + }; }; &uart0 { |