diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-12 00:36:15 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-12 16:57:45 +0200 |
commit | 026fe1308c4eea0b629bec617fc7c45ab48c1deb (patch) | |
tree | 47bebe5fa9fda1c0eb0651ac37294f8d699a4f0b /target/linux/bcm63xx/dts/bcm6328-brcm-bcm963281tan.dts | |
parent | 96414047c957df8b217aaacd9f6b2316bcf20580 (diff) | |
download | upstream-026fe1308c4eea0b629bec617fc7c45ab48c1deb.tar.gz upstream-026fe1308c4eea0b629bec617fc7c45ab48c1deb.tar.bz2 upstream-026fe1308c4eea0b629bec617fc7c45ab48c1deb.zip |
bcm63xx: use generic diag.sh
This commit removes the target-specific diag.sh script. This way, the
generic one is used for the target, which uses DT-aliases to specify the
LEDs used.
Though generic diag.sh allows to use different LEDs to indicate different
states, this patch just moves the old assignment and does not try to
"improve" the assignment by using additional colors.
However, individual proposals to do so are welcome.
For the few cases where status_led2 was used in old diag.sh, only the
primary LED was migrated.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/bcm63xx/dts/bcm6328-brcm-bcm963281tan.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6328-brcm-bcm963281tan.dts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6328-brcm-bcm963281tan.dts b/target/linux/bcm63xx/dts/bcm6328-brcm-bcm963281tan.dts index 6fbac7d461..0e301425c6 100644 --- a/target/linux/bcm63xx/dts/bcm6328-brcm-bcm963281tan.dts +++ b/target/linux/bcm63xx/dts/bcm6328-brcm-bcm963281tan.dts @@ -8,6 +8,13 @@ model = "Broadcom bcm963281TAN reference board"; compatible = "brcm,bcm963281tan", "brcm,bcm6328"; + aliases { + led-boot = &led_power; + led-failsafe = &led_power; + led-running = &led_power; + led-upgrade = &led_power; + }; + chosen { bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; stdout-path = "serial0:115200n8"; @@ -20,7 +27,7 @@ label = "963281TAN::internet"; gpios = <&pinctrl 1 1>; }; - power { + led_power: power { label = "963281TAN::power"; gpios = <&pinctrl 4 1>; default-state = "on"; |