mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
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@0 node name Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
55d96ca689
commit
a6e32937ce
@ -15,10 +15,10 @@
|
|||||||
aliases {
|
aliases {
|
||||||
mdio-gpio0 = &mdio0;
|
mdio-gpio0 = &mdio0;
|
||||||
|
|
||||||
led-boot = &power;
|
led-boot = &led_status;
|
||||||
led-failsafe = &power;
|
led-failsafe = &led_status;
|
||||||
led-running = &power;
|
led-running = &led_status;
|
||||||
led-upgrade = &power;
|
led-upgrade = &led_status;
|
||||||
label-mac-device = &gmac2;
|
label-mac-device = &gmac2;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -45,7 +45,7 @@
|
|||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
};
|
};
|
||||||
|
|
||||||
ledgeneral {
|
led_enable {
|
||||||
label = "led-enable";
|
label = "led-enable";
|
||||||
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_LIGHTS_TOGGLE>;
|
linux,code = <KEY_LIGHTS_TOGGLE>;
|
||||||
@ -102,7 +102,7 @@
|
|||||||
gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
|
gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
power: status {
|
led_status: status {
|
||||||
label = "blue:status";
|
label = "blue:status";
|
||||||
gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
|
gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
@ -179,7 +179,7 @@
|
|||||||
qcom,mode = <GSBI_PROT_SPI>;
|
qcom,mode = <GSBI_PROT_SPI>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
spi4: spi@1a280000 {
|
spi@1a280000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
pinctrl-0 = <&spi_pins>;
|
pinctrl-0 = <&spi_pins>;
|
||||||
@ -187,7 +187,7 @@
|
|||||||
|
|
||||||
cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
|
cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
m25p80@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user