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>;
70 nvmem-cell-names = "mac-address";
71 mac-address-increment = <1>;
75 switch-phy-swap = <1>;
82 nvmem-cells = <&macaddr_art_1002>;
83 nvmem-cell-names = "mac-address";
88 line-name = "wam250:ext:lna0";
89 gpios = <19 GPIO_ACTIVE_HIGH>;
96 clock-frequency = <40000000>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <50000000>;
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
115 reg = <0x000000 0x040000>;
120 label = "u-boot-env";
121 reg = <0x040000 0x010000>;
126 reg = <0x050000 0x020000>;
131 compatible = "denx,uimage";
133 reg = <0x070000 0xf80000>;
136 art: partition@ff0000 {
138 reg = <0xff0000 0x010000>;
157 mtd-cal-data = <&art 0x1000>;
161 compatible = "nvmem-cells";
162 #address-cells = <1>;
165 macaddr_art_1002: macaddr@1002 {