[source] lantiq: cleanup dts files
LEDE Commits
lede-commits at lists.infradead.org
Thu Nov 3 12:17:11 PDT 2016
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/112cf52d45497cb4b5555b6fb5ba3fb764931a0b
commit 112cf52d45497cb4b5555b6fb5ba3fb764931a0b
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Nov 2 19:49:04 2016 +0100
lantiq: cleanup dts files
- remove not existing properties
- remove properties having the same values as the included dtsi
- remove nodes which are disabled in the included dtsi and not enabled
in dts
- replace the deprecated pinctrl-* compatible strings
- use the same labels for nodes as the included dtsi
- move common used vr9 pci properties to vr9.dtsi
- remove the unused stp node from HomeHub 2B devcie tree source file
- fix spaces vs. tabs and remove superfluous linebreaks
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
target/linux/lantiq/dts/ARV4510PW.dts | 1 -
target/linux/lantiq/dts/ARV4518PWR01.dts | 8 ----
target/linux/lantiq/dts/ARV4518PWR01.dtsi | 1 -
target/linux/lantiq/dts/ARV4518PWR01A.dts | 2 -
target/linux/lantiq/dts/ARV4520PW.dts | 3 +-
target/linux/lantiq/dts/ARV4525PW.dts | 1 -
target/linux/lantiq/dts/ARV452CQW.dts | 3 +-
target/linux/lantiq/dts/ARV7518PW.dts | 1 -
target/linux/lantiq/dts/ARV7519PW.dts | 2 +-
target/linux/lantiq/dts/ARV7519RW22.dts | 5 ---
target/linux/lantiq/dts/ARV7525PW.dts | 2 -
target/linux/lantiq/dts/ARV752DPW.dts | 1 -
target/linux/lantiq/dts/ARV752DPW22.dts | 9 ++---
target/linux/lantiq/dts/ARV8539PW22.dts | 2 -
target/linux/lantiq/dts/BTHOMEHUBV2B.dts | 62 ++++++-------------------------
target/linux/lantiq/dts/BTHOMEHUBV3A.dts | 15 --------
target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 6 ---
target/linux/lantiq/dts/DGN1000B.dts | 1 +
target/linux/lantiq/dts/DGN3500.dtsi | 8 +---
target/linux/lantiq/dts/EASY50712.dts | 39 -------------------
target/linux/lantiq/dts/EASY50810.dts | 30 ---------------
target/linux/lantiq/dts/EASY80920.dtsi | 43 ---------------------
target/linux/lantiq/dts/FRITZ7320.dts | 5 ---
target/linux/lantiq/dts/GIGASX76X.dts | 2 -
target/linux/lantiq/dts/P2601HNFX.dts | 21 -----------
target/linux/lantiq/dts/P2812HNUF1.dts | 1 +
target/linux/lantiq/dts/P2812HNUFX.dtsi | 42 +--------------------
target/linux/lantiq/dts/TDW89X0.dtsi | 2 +-
target/linux/lantiq/dts/VGV7510KW22.dtsi | 6 ---
target/linux/lantiq/dts/VGV7519.dtsi | 8 +---
target/linux/lantiq/dts/amazonse.dtsi | 2 +-
target/linux/lantiq/dts/danube.dtsi | 4 +-
target/linux/lantiq/dts/vr9.dtsi | 9 ++++-
33 files changed, 35 insertions(+), 312 deletions(-)
diff --git a/target/linux/lantiq/dts/ARV4510PW.dts b/target/linux/lantiq/dts/ARV4510PW.dts
index 68aae2b..6f07c5f 100644
--- a/target/linux/lantiq/dts/ARV4510PW.dts
+++ b/target/linux/lantiq/dts/ARV4510PW.dts
@@ -134,7 +134,6 @@
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
req-mask = <0x7>;
};
-
};
gpio-keys-polled {
diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dts b/target/linux/lantiq/dts/ARV4518PWR01.dts
index 3642cbe..21a03dd 100644
--- a/target/linux/lantiq/dts/ARV4518PWR01.dts
+++ b/target/linux/lantiq/dts/ARV4518PWR01.dts
@@ -4,12 +4,4 @@
/ {
model = "ARV4518PWR01 - SMC7908A-ISP";
-
- fpi at 10000000 {
-
- pci at E105400 {
- lantiq,internal-clock;
- };
-
- };
};
diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/dts/ARV4518PWR01.dtsi
index 3173144..49b7e50 100644
--- a/target/linux/lantiq/dts/ARV4518PWR01.dtsi
+++ b/target/linux/lantiq/dts/ARV4518PWR01.dtsi
@@ -125,7 +125,6 @@
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
req-mask = <0xf>;
};
-
};
gpio-keys-polled {
diff --git a/target/linux/lantiq/dts/ARV4518PWR01A.dts b/target/linux/lantiq/dts/ARV4518PWR01A.dts
index 6c5047c..e94076b 100644
--- a/target/linux/lantiq/dts/ARV4518PWR01A.dts
+++ b/target/linux/lantiq/dts/ARV4518PWR01A.dts
@@ -6,10 +6,8 @@
model = "ARV4518PWR01A - SMC7908A-ISP, Airties WAV-221";
fpi at 10000000 {
-
pci at E105400 {
lantiq,external-clock;
};
-
};
};
diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts
index 231ae15..17288b3 100644
--- a/target/linux/lantiq/dts/ARV4520PW.dts
+++ b/target/linux/lantiq/dts/ARV4520PW.dts
@@ -118,7 +118,7 @@
ifxhcd at E101000 {
status = "okay";
- gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
};
pci at E105400 {
@@ -126,7 +126,6 @@
lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
-
};
// gpiomm 10 - switch
diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts
index 3813b07..69fd1aa 100644
--- a/target/linux/lantiq/dts/ARV4525PW.dts
+++ b/target/linux/lantiq/dts/ARV4525PW.dts
@@ -111,7 +111,6 @@
status = "okay";
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
-
};
/*
diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts
index eb9b45a..4710a01 100644
--- a/target/linux/lantiq/dts/ARV452CQW.dts
+++ b/target/linux/lantiq/dts/ARV452CQW.dts
@@ -135,7 +135,6 @@
lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
-
};
/*
@@ -209,7 +208,7 @@
};
voice {
label = "arv452cqw:blue:sprache";
- gpios = <&gpiomm 4 1>;
+ gpios = <&gpiomm 4 1>;
};
usb: usb {
label = "arv452cqw:blue:usb";
diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts
index e5e5e70..d44927b 100644
--- a/target/linux/lantiq/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/dts/ARV7518PW.dts
@@ -144,7 +144,6 @@
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
req-mask = <0xf>;
};
-
};
/*
diff --git a/target/linux/lantiq/dts/ARV7519PW.dts b/target/linux/lantiq/dts/ARV7519PW.dts
index 4639ce7..9c29c8c 100644
--- a/target/linux/lantiq/dts/ARV7519PW.dts
+++ b/target/linux/lantiq/dts/ARV7519PW.dts
@@ -125,7 +125,7 @@
ralink_eep {
compatible = "ralink,eeprom";
ralink,eeprom = "RT2860.eeprom";
- };
+ };
gpio-keys-polled {
compatible = "gpio-keys-polled";
diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts
index 5d78448..3d08b93 100644
--- a/target/linux/lantiq/dts/ARV7519RW22.dts
+++ b/target/linux/lantiq/dts/ARV7519RW22.dts
@@ -91,11 +91,6 @@
pcie at d900000 {
status = "disabled";
};
-
- pci at E105400 {
- status = "disabled";
- compatible = "lantiq,pci-xway";
- };
};
gphy-xrx200 {
diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts
index 8e36733..aeba079 100644
--- a/target/linux/lantiq/dts/ARV7525PW.dts
+++ b/target/linux/lantiq/dts/ARV7525PW.dts
@@ -100,9 +100,7 @@
pci at E105400 {
status = "okay";
interrupt-map = <0x7000 0 0 1 &icu0 135 1>;
- req-mask = <0x1>;
};
-
};
gpio-keys-polled {
diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts
index b800055..d6de881 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -143,7 +143,6 @@
interrupt-map = <0x7000 0 0 1 &icu0 135>;
req-mask = <0x3>;
};
-
};
ralink_eep {
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts
index 9977ec1..0b0fddb 100644
--- a/target/linux/lantiq/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/dts/ARV752DPW22.dts
@@ -139,15 +139,14 @@
status = "okay";
lantiq,external-clock;
interrupt-map = <
- 0x7000 0 0 1 &icu0 30
- 0x7800 0 0 1 &icu0 135
- 0x7800 0 0 2 &icu0 135
- 0x7800 0 0 3 &icu0 135
+ 0x7000 0 0 1 &icu0 30
+ 0x7800 0 0 1 &icu0 135
+ 0x7800 0 0 2 &icu0 135
+ 0x7800 0 0 3 &icu0 135
>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
req-mask = <0x3>;
};
-
};
ralink_eep {
diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts
index a03b745..5728993 100644
--- a/target/linux/lantiq/dts/ARV8539PW22.dts
+++ b/target/linux/lantiq/dts/ARV8539PW22.dts
@@ -72,7 +72,6 @@
ath,mac-increment = <1>;
ath,pci-slot = <14>;
ath,eep-endian;
- ath,arv-ath9k-fix;
};
};
@@ -120,7 +119,6 @@
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
lantiq,portmask = <0x3>;
};
-
};
gpio-keys-polled {
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
index 7a0edae..502132e 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
@@ -30,15 +30,7 @@
};
fpi at 10000000 {
- #address-cells = <1>;
- #size-cells = <1>;
localbus at 0 {
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
- 1 0 0x4000000 0x4000010>; /* addsel1 */
- compatible = "lantiq,localbus", "simple-bus";
-
nor-boot at 0 { /* NOR Flash: Spansion S29AL004D 512KB */
compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
lantiq,cs = <0>;
@@ -111,7 +103,6 @@
};
};
-
ath9k_eep {
compatible = "ath9k,eeprom";
ath,eep-flash = <&ath9k_cal 0x0000>;
@@ -122,22 +113,10 @@
};
gpio: pinmux at E100B10 {
- compatible = "lantiq,pinctrl-xway";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- #gpio-cells = <2>;
- gpio-controller;
- reg = <0xE100B10 0xA0>;
-
state_default: pinmux {
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
- lantiq,output = <1>;
- lantiq,open-drain = <0>;
- lantiq,pull = <0>;
- };
nand_out {
lantiq,groups = "nand cle", "nand ale";
lantiq,function = "ebu";
@@ -186,38 +165,21 @@
};
etop at E180000 {
- compatible = "lantiq,etop-xway";
- reg = <0xE180000 0x40000>;
- interrupt-parent = <&icu0>;
- interrupts = <73 78>;
phy-mode = "rmii";
- mac-address = [ 00 11 22 33 44 55 ];
};
ifxhcd at E101000 {
status = "okay";
};
- stp0: stp at E100BB0 {
+ gpios: stp at E100BB0 {
status = "okay";
- #gpio-cells = <2>;
- compatible = "lantiq,gpio-stp-xway";
- gpio-controller;
- reg = <0xE100BB0 0x40>;
-
- lantiq,shadow = <0xfff>;
- lantiq,groups = <0x3>;
};
pci at E105400 {
status = "okay";
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
};
-
};
gpio-keys-polled {
@@ -248,52 +210,52 @@
upgrading-orange {
label = "bthomehubv2b:orange:upgrading";
- gpios = <&stp0 5 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
};
phone-orange {
label = "bthomehubv2b:orange:phone";
- gpios = <&stp0 6 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
};
phone-blue {
label = "bthomehubv2b:blue:phone";
- gpios = <&stp0 7 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
};
wireless-orange {
label = "bthomehubv2b:orange:wireless";
- gpios = <&stp0 8 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
};
wireless_blue: wireless-blue {
label = "bthomehubv2b:blue:wireless";
- gpios = <&stp0 9 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
};
broadband-red {
label = "bthomehubv2b:red:broadband";
- gpios = <&stp0 10 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
};
broadband-orange {
label = "bthomehubv2b:orange:broadband";
- gpios = <&stp0 11 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
};
broadband_blue: broadband-blue {
label = "bthomehubv2b:blue:broadband";
- gpios = <&stp0 12 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
};
power_red: power-red {
label = "bthomehubv2b:red:power";
- gpios = <&stp0 13 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
};
power_orange: power-orange {
label = "bthomehubv2b:orange:power";
- gpios = <&stp0 14 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
default-state = "keep";
};
power_blue: power-blue {
label = "bthomehubv2b:blue:power";
- gpios = <&stp0 15 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
};
};
};
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
index 996d5b2..e3a252b 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
@@ -30,15 +30,7 @@
};
fpi at 10000000 {
- #address-cells = <1>;
- #size-cells = <1>;
localbus at 0 {
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
- 1 0 0x4000000 0x4000010>; /* addsel1 */
- compatible = "lantiq,localbus", "simple-bus";
-
nand-parts at 0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
compatible = "gen_nand", "lantiq,nand-xway";
lantiq,cs = <1>;
@@ -91,14 +83,9 @@
};
gpio: pinmux at E100B10 {
- compatible = "lantiq,pinctrl-xr9";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- #gpio-cells = <2>;
- gpio-controller;
- reg = <0xE100B10 0xA0>;
-
state_default: pinmux {
nand_out {
lantiq,groups = "nand cle", "nand ale";
@@ -150,7 +137,6 @@
status = "okay";
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
-
};
gpio-keys-polled {
@@ -219,4 +205,3 @@
};
};
};
-
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index 62d28fa..c2fe11a 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -67,9 +67,6 @@
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- interrupt-parent = <&icu0>;
- interrupts = <166 135 66 40 41 42 38>;
-
state_default: pinmux {
mdio {
lantiq,groups = "mdio";
@@ -115,9 +112,6 @@
pci at E105400 {
status = "okay";
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
};
diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts
index fdcce1b..a63199f 100644
--- a/target/linux/lantiq/dts/DGN1000B.dts
+++ b/target/linux/lantiq/dts/DGN1000B.dts
@@ -104,6 +104,7 @@
};
};
};
+
ifxhcd at E101000 {
status = "okay";
};
diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi
index 983d854..c7d0b2d 100644
--- a/target/linux/lantiq/dts/DGN3500.dtsi
+++ b/target/linux/lantiq/dts/DGN3500.dtsi
@@ -62,7 +62,6 @@
etop at E180000 {
phy-mode = "mii";
- mac-address = [ 00 11 22 33 44 55 ];
};
ifxhcd at E101000 {
@@ -71,12 +70,7 @@
pci at E105400 {
status = "okay";
-
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
};
};
@@ -143,7 +137,7 @@
label = "dgn3500:red:power";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
- /*
+ /*
power amber is missing
*/
wifi: wifi {
diff --git a/target/linux/lantiq/dts/EASY50712.dts b/target/linux/lantiq/dts/EASY50712.dts
index a751375..28fc66b 100644
--- a/target/linux/lantiq/dts/EASY50712.dts
+++ b/target/linux/lantiq/dts/EASY50712.dts
@@ -12,15 +12,7 @@
};
fpi at 10000000 {
- #address-cells = <1>;
- #size-cells = <1>;
localbus at 0 {
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
- 1 0 0x4000000 0x4000010>; /* addsel1 */
- compatible = "lantiq,localbus", "simple-bus";
-
nor-boot at 0 {
compatible = "lantiq,nor";
bank-width = <2>;
@@ -57,14 +49,9 @@
};
gpio: pinmux at E100B10 {
- compatible = "lantiq,pinctrl-xway";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- #gpio-cells = <2>;
- gpio-controller;
- reg = <0xE100B10 0xA0>;
-
state_default: pinmux {
stp {
lantiq,groups = "stp";
@@ -87,33 +74,7 @@
};
etop at E180000 {
- compatible = "lantiq,etop-xway";
- reg = <0xE180000 0x40000>;
- interrupt-parent = <&icu0>;
- interrupts = <73 78>;
phy-mode = "rmii";
- mac-address = [ 00 11 22 33 44 55 ];
- };
-
- stp0: stp at E100BB0 {
- #gpio-cells = <2>;
- compatible = "lantiq,gpio-stp-xway";
- gpio-controller;
- reg = <0xE100BB0 0x40>;
-
- lantiq,shadow = <0xfff>;
- lantiq,groups = <0x3>;
- };
-
- pci at E105400 {
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <
- 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
- >;
- gpios-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
};
-
};
};
diff --git a/target/linux/lantiq/dts/EASY50810.dts b/target/linux/lantiq/dts/EASY50810.dts
index f04796c..44e08ca 100644
--- a/target/linux/lantiq/dts/EASY50810.dts
+++ b/target/linux/lantiq/dts/EASY50810.dts
@@ -12,15 +12,7 @@
};
fpi at 10000000 {
- #address-cells = <1>;
- #size-cells = <1>;
localbus at 0 {
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
- 1 0 0x4000000 0x4000010>; /* addsel1 */
- compatible = "lantiq,localbus", "simple-bus";
-
nor-boot at 0 {
compatible = "lantiq,nor";
bank-width = <2>;
@@ -57,14 +49,9 @@
};
gpio: pinmux at E100B10 {
- compatible = "lantiq,pinctrl-xr9";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- #gpio-cells = <2>;
- gpio-controller;
- reg = <0xE100B10 0xA0>;
-
state_default: pinmux {
stp {
lantiq,groups = "stp";
@@ -87,13 +74,7 @@
};
etop at E180000 {
- compatible = "lantiq,etop-xway";
- reg = <0xE180000 0x40000
- 0xE108000 0x200>;
- interrupt-parent = <&icu0>;
- interrupts = <72 73>;
phy-mode = "rmii";
- mac-address = [ 00 11 22 33 44 55 ];
};
stp0: stp at E100BB0 {
@@ -105,16 +86,5 @@
lantiq,shadow = <0xfff>;
lantiq,groups = <0x3>;
};
-
- pci at E105400 {
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <
- 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
- >;
- gpios-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
- };
-
};
};
diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi
index c643bf1..bce8d5e 100644
--- a/target/linux/lantiq/dts/EASY80920.dtsi
+++ b/target/linux/lantiq/dts/EASY80920.dtsi
@@ -19,31 +19,10 @@
};
fpi at 10000000 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "lantiq,fpi", "simple-bus";
- ranges = <0x0 0x10000000 0xEEFFFFF>;
- reg = <0x10000000 0xEF00000>;
-
- localbus at 0 {
- #address-cells = <2>;
- #size-cells = <1>;
- compatible = "lantiq,localbus", "simple-bus";
-
- };
-
gpio: pinmux at E100B10 {
- compatible = "lantiq,pinctrl-xr9";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- interrupt-parent = <&icu0>;
- interrupts = <166 135 66 40 41 42 38>;
-
- #gpio-cells = <2>;
- gpio-controller;
- reg = <0xE100B10 0xA0>;
-
state_default: pinmux {
exin3 {
lantiq,groups = "exin3";
@@ -119,28 +98,6 @@
gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
lantiq,portmask = <0x3>;
};
-
- pci at E105400 {
- #address-cells = <3>;
- #size-cells = <2>;
- #interrupt-cells = <1>;
- compatible = "lantiq,pci-xway1";
- bus-range = <0x0 0x0>;
- ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
- 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
- reg = <0x7000000 0x8000 /* config space */
- 0xE105400 0x400>; /* pci bridge */
- lantiq,bus-clock = <33333333>;
- /*lantiq,external-clock;*/
- lantiq,delay-hi = <0>; /* 0ns delay */
- lantiq,delay-lo = <0>; /* 0.0ns delay */
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <
- 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
- >;
- gpios-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
- };
};
gphy-xrx200 {
diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts
index 9884038..e1e70be 100644
--- a/target/linux/lantiq/dts/FRITZ7320.dts
+++ b/target/linux/lantiq/dts/FRITZ7320.dts
@@ -96,7 +96,6 @@
etop at E180000 {
phy-mode = "mii";
- mac-address = [ 00 11 22 33 44 55 ];
};
ifxhcd at E101000 {
@@ -106,11 +105,7 @@
pci at E105400 {
status = "okay";
req-mask = <0xf>;
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0xf>; /* GNT1 */
};
};
diff --git a/target/linux/lantiq/dts/GIGASX76X.dts b/target/linux/lantiq/dts/GIGASX76X.dts
index 003083c..6507157 100644
--- a/target/linux/lantiq/dts/GIGASX76X.dts
+++ b/target/linux/lantiq/dts/GIGASX76X.dts
@@ -89,9 +89,7 @@
pci at E105400 {
status = "okay";
- lantiq,internal-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>;
};
};
diff --git a/target/linux/lantiq/dts/P2601HNFX.dts b/target/linux/lantiq/dts/P2601HNFX.dts
index 3994c18..250de38 100644
--- a/target/linux/lantiq/dts/P2601HNFX.dts
+++ b/target/linux/lantiq/dts/P2601HNFX.dts
@@ -24,15 +24,7 @@
};
fpi at 10000000 {
- #address-cells = <1>;
- #size-cells = <1>;
localbus at 0 {
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0x0 0x3ffffff
- 1 0 0x4000000 0x4000010>;
- compatible = "lantiq,localbus", "simple-bus";
-
nor-boot at 0 {
compatible = "lantiq,nor";
bank-width = <2>;
@@ -66,14 +58,9 @@
};
gpio: pinmux at E100B10 {
- compatible = "lantiq,pinctrl-xr9";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- #gpio-cells = <2>;
- gpio-controller;
- reg = <0xE100B10 0xA0>;
-
state_default: pinmux {
stp {
lantiq,groups = "stp";
@@ -120,14 +107,6 @@
lantiq,shadow = <0xfff>;
lantiq,groups = <0x3>;
};
-
- pci at E105400 {
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <0x7000 0 0 1 &icu0 29 1>;
- gpios-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>;
- };
};
gpio-keys-polled {
diff --git a/target/linux/lantiq/dts/P2812HNUF1.dts b/target/linux/lantiq/dts/P2812HNUF1.dts
index 5829ee5..53ffbdd 100644
--- a/target/linux/lantiq/dts/P2812HNUF1.dts
+++ b/target/linux/lantiq/dts/P2812HNUF1.dts
@@ -44,6 +44,7 @@
};
};
};
+
pcie at d900000 {
status = "disabled";
};
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index be3d73d..f0dfe98 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -19,33 +19,11 @@
reg = <0x0 0x8000000>;
};
- fpi at 10000000 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "lantiq,fpi", "simple-bus";
- ranges = <0x0 0x10000000 0xEEFFFFF>;
- reg = <0x10000000 0xEF00000>;
-
- localbus at 0 {
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
- 1 0 0x4000000 0x4000010>; /* addsel1 */
- compatible = "lantiq,localbus", "simple-bus";
- };
-
+ fpi at 10000000 {
gpio: pinmux at E100B10 {
- compatible = "lantiq,pinctrl-xr9";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
- interrupt-parent = <&icu0>;
- interrupts = <166 135 66 40 41 42 38>;
-
- #gpio-cells = <2>;
- gpio-controller;
- reg = <0xE100B10 0xA0>;
-
state_default: pinmux {
exin3 {
lantiq,groups = "exin3";
@@ -143,25 +121,7 @@
pci at E105400 {
status = "okay";
- #address-cells = <3>;
- #size-cells = <2>;
- #interrupt-cells = <1>;
- compatible = "lantiq,pci-xway";
- bus-range = <0x0 0x0>;
- ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
- 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
- reg = <0x7000000 0x8000 /* config space */
- 0xE105400 0x400>; /* pci bridge */
- lantiq,bus-clock = <33333333>;
- /*lantiq,external-clock;*/
- lantiq,delay-hi = <0>; /* 0ns delay */
- lantiq,delay-lo = <0>; /* 0.0ns delay */
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <
- 0x7000 0 0 1 &icu0 30 1 // slot 14, irq 30
- >;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
};
};
diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi
index 0f070ef..fd37352 100644
--- a/target/linux/lantiq/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/dts/TDW89X0.dtsi
@@ -120,7 +120,7 @@
compatible = "gpio-leds";
/*
power is not controllable via gpio
- */
+ */
dsl: dsl {
label = "tdw89x0:green:dsl";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi
index 88ceabe..181e852 100644
--- a/target/linux/lantiq/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi
@@ -77,13 +77,7 @@
pci at E105400 {
status = "okay";
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <
- 0x7000 0 0 1 &icu0 30 1 // slot 14, irq 30
- >;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
};
pcie at d900000 {
diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi
index 2ed253c..31b429b 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -2,7 +2,7 @@
/ {
- model = "VGV7519 - KPN Experiabox V8";
+ model = "VGV7519 - KPN Experiabox V8";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
@@ -104,13 +104,7 @@
pci at E105400 {
status = "okay";
- lantiq,bus-clock = <33333333>;
- interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <
- 0x7000 0 0 1 &icu0 30 1 // slot 14, irq 30
- >;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x1>; /* GNT1 */
};
pcie at d900000 {
diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi
index 84a3a9a..520f0e0 100644
--- a/target/linux/lantiq/dts/amazonse.dtsi
+++ b/target/linux/lantiq/dts/amazonse.dtsi
@@ -90,7 +90,7 @@
compatible = "lantiq,gptu-xway";
reg = <0xE100A00 0x100>;
interrupt-parent = <&icu0>;
- interrupts = <97 98 99 100 101 102>;
+ interrupts = <97 98 99 100 101 102>;
status = "disabled";
};
diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi
index ea40970..39f2865 100644
--- a/target/linux/lantiq/dts/danube.dtsi
+++ b/target/linux/lantiq/dts/danube.dtsi
@@ -197,8 +197,8 @@
0xE105400 0x400>; /* pci bridge */
lantiq,bus-clock = <33333333>;
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
- interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
- req-mask = <0x1>;
+ interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
+ req-mask = <0x1>; /* GNT1 */
};
};
diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
index 1a50d0e..5478e1a 100644
--- a/target/linux/lantiq/dts/vr9.dtsi
+++ b/target/linux/lantiq/dts/vr9.dtsi
@@ -116,7 +116,7 @@
compatible = "lantiq,gptu-xway";
reg = <0xE100A00 0x100>;
interrupt-parent = <&icu0>;
- interrupts = <126 127 128 129 130 131>;
+ interrupts = <126 127 128 129 130 131>;
};
asc0: serial at E100400 {
@@ -219,6 +219,8 @@
};
pci0: pci at E105400 {
+ status = "disabled";
+
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
@@ -228,7 +230,10 @@
0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
reg = <0x7000000 0x8000 /* config space */
0xE105400 0x400>; /* pci bridge */
- status = "disabled";
+ lantiq,bus-clock = <33333333>;
+ interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
+ interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
+ req-mask = <0x1>; /* GNT1 */
};
};
More information about the lede-commits
mailing list