diff options
author | Mathias Kresin <dev@kresin.me> | 2019-01-27 16:34:33 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2019-07-07 11:17:28 +0200 |
commit | 3b215a01bbfa95f039da3599244c44c1ca64c2d7 (patch) | |
tree | b871320621c2df3003b6a7da45d6a6c6d55a2aac /target/linux/lantiq/files/arch/mips/boot/dts/ARV4520PW.dts | |
parent | 85debe661e11389dfbd488eab5b7fb9878380bab (diff) | |
download | upstream-3b215a01bbfa95f039da3599244c44c1ca64c2d7.tar.gz upstream-3b215a01bbfa95f039da3599244c44c1ca64c2d7.tar.bz2 upstream-3b215a01bbfa95f039da3599244c44c1ca64c2d7.zip |
lantiq: dts: move localbus childs to dts
The localbus childs are highly board specific and need to be part of the
board dts. Otherwise we run into duplicate unit address issues if a
board has something else (NAND) connected to the bus id.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/ARV4520PW.dts')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/ARV4520PW.dts | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/ARV4520PW.dts b/target/linux/lantiq/files/arch/mips/boot/dts/ARV4520PW.dts index ad5d65a1e6..275abdd0aa 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/ARV4520PW.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/ARV4520PW.dts @@ -155,11 +155,6 @@ }; }; -&gpiomm { - status = "okay"; - lantiq,shadow = <0x400>; -}; - &gsw { /* gpiomm 10 - switch */ phy-mode = "rmii"; @@ -201,6 +196,16 @@ }; }; }; + + gpiomm: gpiomm@1 { + compatible = "lantiq,gpio-mm"; + reg = <1 0x0 0x10 >; + #address-cells = <1>; + #size-cells = <1>; + #gpio-cells = <2>; + gpio-controller; + lantiq,shadow = <0x400>; + }; }; &pci0 { |