1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Samsung WAM250";
10 compatible = "samsung,wam250", "qca,ar9344";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 linux,code = <KEY_WPS_BUTTON>;
32 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 label = "white:power";
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 default-state = "keep";
52 label = "white:repeater";
53 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
67 phy-handle = <&swphy0>;
69 nvmem-cells = <&macaddr_art_1002 1>;
70 nvmem-cell-names = "mac-address";
74 switch-phy-swap = <1>;
81 nvmem-cells = <&macaddr_art_1002 0>;
82 nvmem-cell-names = "mac-address";
87 line-name = "wam250:ext:lna0";
88 gpios = <19 GPIO_ACTIVE_HIGH>;
95 clock-frequency = <40000000>;
102 compatible = "jedec,spi-nor";
104 spi-max-frequency = <50000000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
114 reg = <0x000000 0x040000>;
119 label = "u-boot-env";
120 reg = <0x040000 0x010000>;
125 reg = <0x050000 0x020000>;
130 compatible = "denx,uimage";
132 reg = <0x070000 0xf80000>;
135 art: partition@ff0000 {
137 reg = <0xff0000 0x010000>;
141 compatible = "fixed-layout";
142 #address-cells = <1>;
145 macaddr_art_1002: macaddr@1002 {
146 compatible = "mac-base";
148 #nvmem-cell-cells = <1>;
168 mtd-cal-data = <&art 0x1000>;