Bläddra i källkod

ath79: update dtsi/dts for NEC Aterm devices based on QCA9558

Add more DT labels and move a USB hub node to dts files of Aterm devices
as a preparation for adding support of Aterm WG2200HP.

Signed-off-by: INAGAKI Hiroshi <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17584
Signed-off-by: Hauke Mehrtens <[email protected]>
INAGAKI Hiroshi 1 år sedan
förälder
incheckning
76e0338247

+ 4 - 14
target/linux/ath79/dts/qca9558_nec_aterm.dtsi

@@ -26,7 +26,7 @@
 		label-mac-device = &eth0;
 	};
 
-	i2c {
+	i2c: i2c {
 		compatible = "i2c-gpio";
 
 		pinctrl-names = "default";
@@ -51,7 +51,7 @@
 		};
 	};
 
-	keys {
+	keys: keys {
 		compatible = "gpio-keys";
 		pinctrl-names = "default";
 		pinctrl-0 = <&jtag_disable_pins>;
@@ -240,7 +240,7 @@
 				reg = <0x030000 0x010000>;
 				read-only;
 
-				nvmem-layout {
+				nvmem_art: nvmem-layout {
 					compatible = "fixed-layout";
 					#address-cells = <1>;
 					#size-cells = <1>;
@@ -327,7 +327,7 @@
 &pcie0 {
 	status = "okay";
 
-	wifi@0,0 {
+	wifi: wifi@0,0 {
 		compatible = "pci168c,003c";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&cal_art_5000>, <&macaddr_config_12>;
@@ -349,16 +349,6 @@
 
 &usb0 {
 	status = "okay";
-	#address-cells = <1>;
-	#size-cells = <0>;
-
-	/delete-node/ port@1;
-
-	/* NEC uPD720114 */
-	hub@1 {
-		compatible = "usb0409,005a";
-		reg = <1>;
-	};
 };
 
 &wmac {

+ 10 - 0
target/linux/ath79/dts/qca9558_nec_wg1400hp.dts

@@ -10,3 +10,13 @@
 &eth0 {
 	pll-data = <0x5a000000 0x00000101 0x00001616>;
 };
+
+&usb0 {
+	/delete-node/ port@1;
+
+	/* NEC uPD720114 */
+	hub@1 {
+		compatible = "usb0409,005a";
+		reg = <1>;
+	};
+};

+ 10 - 0
target/linux/ath79/dts/qca9558_nec_wg1800hp.dts

@@ -10,3 +10,13 @@
 &eth0 {
 	pll-data = <0x5a000000 0x00000101 0x00001616>;
 };
+
+&usb0 {
+	/delete-node/ port@1;
+
+	/* NEC uPD720114 */
+	hub@1 {
+		compatible = "usb0409,005a";
+		reg = <1>;
+	};
+};

+ 10 - 0
target/linux/ath79/dts/qca9558_nec_wg1800hp2.dts

@@ -10,3 +10,13 @@
 &eth0 {
 	pll-data = <0x96000000 0x00000101 0x00001616>;
 };
+
+&usb0 {
+	/delete-node/ port@1;
+
+	/* NEC uPD720114 */
+	hub@1 {
+		compatible = "usb0409,005a";
+		reg = <1>;
+	};
+};