1 #include "amazonse.dtsi"
4 compatible = "allnet,all0333cj", "lantiq,xway", "lantiq,ase";
5 model = "Allnet ALL0333CJ DSL Modem";
8 bootargs = "console=ttyLTQ0,115200";
12 led-failsafe = &power;
17 led-internet = &online_green;
22 device_type = "memory";
23 reg = <0x0 0x1000000>;
27 compatible = "gpio-leds";
29 /* power led: red=off, green=on */
31 function = LED_FUNCTION_POWER;
32 color = <LED_COLOR_ID_GREEN>;
33 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 default-state = "keep";
38 function = LED_FUNCTION_LAN;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
48 online_green: online {
49 label = "green:online";
50 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&state_default>;
63 state_default: pinmux {
65 lantiq,pins = "io0",/* "io25", */"io29";
67 lantiq,open-drain = <1>;
78 compatible = "lantiq,nor";
80 reg = <0 0x0 0x400000>;
83 compatible = "fixed-partitions";
89 reg = <0x00000 0x10000>;
95 reg = <0x10000 0x3ef200>;
100 reg = <0x3ff200 0xc00>;
105 label = "dummy_bits";
106 reg = <0x3ffe00 0x200>;
111 #include <dt-bindings/leds/common.h>