aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-01-01 17:58:30 +0100
committerMathias Kresin <dev@kresin.me>2018-02-20 19:25:17 +0100
commitf519fea4c6dbffc9824b0084b8d720507793754d (patch)
tree2ecfbcddc029712907717ee5faa9a92b06947b72 /target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
parent82ae68be70a666618e080c56aa57af41859469b8 (diff)
downloadupstream-f519fea4c6dbffc9824b0084b8d720507793754d.tar.gz
upstream-f519fea4c6dbffc9824b0084b8d720507793754d.tar.bz2
upstream-f519fea4c6dbffc9824b0084b8d720507793754d.zip
lantiq: kernel 4.14: cleanup dts files
Move common used parts to dtsi. Add labels to nodes and reference nodes via labels in dts files. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts106
1 files changed, 52 insertions, 54 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
index 01016f45c9..6229d40913 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
@@ -19,7 +19,7 @@
led-dsl = &dsl;
led-internet = &online;
- led-usb = &usb;
+ led-usb = &led_usb;
led-wifi = &wifi;
};
@@ -27,58 +27,6 @@
reg = <0x0 0x2000000>;
};
- fpi@10000000 {
- localbus@0 {
- nor-boot@0 {
- compatible = "lantiq,nor";
- bank-width = <2>;
- reg = <0 0x0 0x2000000>;
- #address-cells = <1>;
- #size-cells = <1>;
-
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
-
- partition@0 {
- label = "uboot";
- reg = <0x00000 0x20000>;
- read-only;
- };
-
- partition@20000 {
- label = "uboot_env";
- reg = <0x20000 0x10000>;
- read-only;
- };
-
- partition@30000 {
- label = "firmware";
- reg = <0x30000 0x7d0000>;
- };
- };
- };
- };
-
- gpio: pinmux@E100B10 {
- pinctrl-names = "default";
- pinctrl-0 = <&state_default>;
-
- state_default: pinmux {
- };
- };
-
- etop@E180000 {
- phy-mode = "rgmii";
- };
-
- ifxhcd@E101000 {
- status = "okay";
- gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
- };
- };
-
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -130,7 +78,7 @@
label = "h201l:green:wlan";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
- usb: usb {
+ led_usb: usb {
label = "h201l:green:usb";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
@@ -157,3 +105,53 @@
};
};
};
+
+&gpio {
+ pinctrl-names = "default";
+ pinctrl-0 = <&state_default>;
+
+ state_default: pinmux {
+ };
+};
+
+&gsw {
+ phy-mode = "rgmii";
+};
+
+&localbus {
+ nor@0 {
+ compatible = "lantiq,nor";
+ bank-width = <2>;
+ reg = <0 0x0 0x2000000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "uboot";
+ reg = <0x00000 0x20000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "uboot_env";
+ reg = <0x20000 0x10000>;
+ read-only;
+ };
+
+ partition@30000 {
+ label = "firmware";
+ reg = <0x30000 0x7d0000>;
+ };
+ };
+ };
+};
+
+&usb0 {
+ status = "okay";
+ gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
+};