1 #include <dt-bindings/leds/common.h>
3 #include "amazonse.dtsi"
6 compatible = "allnet,all0333cj", "lantiq,xway", "lantiq,ase";
7 model = "Allnet ALL0333CJ DSL Modem";
10 bootargs = "console=ttyLTQ0,115200";
14 led-failsafe = &power;
19 led-internet = &online_green;
24 device_type = "memory";
25 reg = <0x0 0x1000000>;
29 compatible = "gpio-leds";
31 /* power led: red=off, green=on */
33 function = LED_FUNCTION_POWER;
34 color = <LED_COLOR_ID_GREEN>;
35 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
36 default-state = "keep";
40 function = LED_FUNCTION_LAN;
41 color = <LED_COLOR_ID_GREEN>;
42 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
50 online_green: online {
51 label = "green:online";
52 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&state_default>;
65 state_default: pinmux {
67 lantiq,pins = "io0",/* "io25", */"io29";
69 lantiq,open-drain = <1>;
80 compatible = "lantiq,nor";
82 reg = <0 0x0 0x400000>;
85 compatible = "fixed-partitions";
91 reg = <0x00000 0x10000>;
97 reg = <0x10000 0x3ef200>;
101 label = "u-boot-env";
102 reg = <0x3ff200 0xc00>;
107 label = "dummy_bits";
108 reg = <0x3ffe00 0x200>;