[openwrt/openwrt] ipq806x: clean up DTS file for TP-Link AD7200

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 6 08:43:18 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8050b7051429c002e4664807d758a279d7eb93a2

commit 8050b7051429c002e4664807d758a279d7eb93a2
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Wed Jan 6 00:50:09 2021 +0100

    ipq806x: clean up DTS file for TP-Link AD7200
    
    This does several cosmetic adjustments for AD7200's DTS:
    
     - Make node name, DT label and label property consistent
     - Drop wrong and unused spi4 label
     - Use generic flash at 0 node name
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 .../files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts      | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts
index 48dc116e99..bd50d2d0fc 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts
@@ -15,10 +15,10 @@
 	aliases {
 		mdio-gpio0 = &mdio0;
 
-		led-boot = &power;
-		led-failsafe = &power;
-		led-running = &power;
-		led-upgrade = &power;
+		led-boot = &led_status;
+		led-failsafe = &led_status;
+		led-running = &led_status;
+		led-upgrade = &led_status;
 		label-mac-device = &gmac2;
 	};
 
@@ -45,7 +45,7 @@
 			linux,code = <KEY_WPS_BUTTON>;
 		};
 
-		ledgeneral {
+		led_enable {
 			label = "led-enable";
 			gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_LIGHTS_TOGGLE>;
@@ -102,7 +102,7 @@
 			gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
 		};
 
-		power: status {
+		led_status: status {
 			label = "blue:status";
 			gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
 		};
@@ -179,7 +179,7 @@
 	qcom,mode = <GSBI_PROT_SPI>;
 	status = "okay";
 
-	spi4: spi at 1a280000 {
+	spi at 1a280000 {
 		status = "okay";
 
 		pinctrl-0 = <&spi_pins>;
@@ -187,7 +187,7 @@
 
 		cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
 
-		m25p80 at 0 {
+		flash at 0 {
 			compatible = "jedec,spi-nor";
 			#address-cells = <1>;
 			#size-cells = <1>;



More information about the lede-commits mailing list