aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files/arch/mips/boot/dts/ARV4518PWR01.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2019-01-27 16:34:33 +0100
committerMathias Kresin <dev@kresin.me>2019-07-07 11:17:28 +0200
commit3b215a01bbfa95f039da3599244c44c1ca64c2d7 (patch)
treeb871320621c2df3003b6a7da45d6a6c6d55a2aac /target/linux/lantiq/files/arch/mips/boot/dts/ARV4518PWR01.dtsi
parent85debe661e11389dfbd488eab5b7fb9878380bab (diff)
downloadupstream-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/ARV4518PWR01.dtsi')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/ARV4518PWR01.dtsi15
1 files changed, 10 insertions, 5 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/ARV4518PWR01.dtsi
index 6d9f974bff..3998f1f13f 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/ARV4518PWR01.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/ARV4518PWR01.dtsi
@@ -135,11 +135,6 @@
};
};
-&gpiomm {
- status = "okay";
- lantiq,shadow = <0x0>;
-};
-
&gsw {
phy-mode = "mii";
mtd-mac-address = <&boardconfig 0x16>;
@@ -180,6 +175,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 = <0x0>;
+ };
};
&pci0 {