mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
621297e867
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. In ramips, we therefore requested to have in the DTS files so far, and omit it in the DTSI files. However, essentially the syntax of the parent mtxxxx/rtxxxx DTSI files already determines the DTS version, so putting it into the DTS files is just a useless repetition. Consequently, this patch puts the dts-v1 statement into the top-level SoC-based DTSI files, and removes all other occurences. Since the dts-v1 statement needs to be before any other definitions, this also moves the includes accordingly where necessary. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
/* This file is released into the public domain */
|
|
|
|
#include "mt7620a_netgear_ex3x00_ex61xx.dtsi"
|
|
|
|
/ {
|
|
compatible = "netgear,ex3700", "ralink,mt7620a-soc";
|
|
model = "Netgear EX3700/EX3800";
|
|
|
|
aliases {
|
|
led-boot = &led_power_amber;
|
|
led-failsafe = &led_power_amber;
|
|
led-running = &led_power_green;
|
|
led-upgrade = &led_power_green;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_power_green: power_green {
|
|
label = "ex3700:green:power";
|
|
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
|
|
default-state = "on";
|
|
};
|
|
|
|
led_power_amber: power_amber {
|
|
label = "ex3700:amber:power";
|
|
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
router_green {
|
|
label = "ex3700:green:router";
|
|
gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
router_red {
|
|
label = "ex3700:red:router";
|
|
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
device_green {
|
|
label = "ex3700:green:device";
|
|
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
device_red {
|
|
label = "ex3700:red:device";
|
|
gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wps {
|
|
label = "ex3700:green:wps";
|
|
gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|