openwrt/target/linux/bcm63xx/dts/bcm6368-brcm-bcm96368mvngr.dts
Christian Marangi 4a8928526e
bcm63xx: convert to new LED color/function format where possible
Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-02-07 14:48:35 +01:00

60 lines
1.0 KiB
Plaintext

#include "bcm6368.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ {
model = "Broadcom BCM96368MVNgr reference board";
compatible = "brcm,bcm96368mvngr", "brcm,bcm6368";
chosen {
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
leds {
compatible = "gpio-leds";
dsl_green {
label = "green:adsl";
gpios = <&pinctrl 2 1>;
};
inet_fail_green {
label = "green:inet-fail";
gpios = <&pinctrl 3 0>;
};
inet_green {
label = "green:inet";
gpios = <&pinctrl 5 0>;
};
power_green {
function = LED_FUNCTION_POWER;
color = <LED_COLOR_ID_GREEN>;
gpios = <&pinctrl 22 0>;
default-state = "on";
};
wps_green {
function = LED_FUNCTION_WPS;
color = <LED_COLOR_ID_GREEN>;
gpios = <&pinctrl 23 1>;
};
};
};
&pflash {
status = "okay";
partitions {
compatible = "brcm,bcm963xx-cfe-nor-partitions";
};
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pci>;
};
&uart0 {
status = "okay";
};