1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
11 compatible = "zbtlink,zbt-wd323", "qca,ar9344";
14 compatible = "gpio-keys";
18 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
24 compatible = "i2c-gpio";
28 pinctrl-names = "default";
29 pinctrl-0 = <&enable_gpio15 &enable_gpio19>;
31 sda-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
32 scl-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
34 /* can be removed on 4.19 */
35 gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
36 <&gpio 15 GPIO_ACTIVE_LOW>;
39 compatible = "nxp,pcf8563";
46 compatible = "gpio-leds";
48 pinctrl-names = "default";
49 pinctrl-0 = <&enable_gpio20_gpio22>;
52 label = "zbt-wd323:green:wifi";
53 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0tpt";
58 label = "zbt-wd323:orange:lan1";
59 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
63 label = "zbt-wd323:orange:lan2";
64 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&enable_gpio21>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&jtag_disable_pins>;
97 phy-handle = <&swphy4>;
98 mtd-mac-address = <&art 0x0>;
103 mtd-mac-address = <&art 0x6>;
107 num-chipselects = <1>;
111 compatible = "jedec,spi-nor";
112 spi-max-frequency = <22000000>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
126 reg = <0x40000 0x10000>;
131 compatible = "denx,uimage";
132 reg = <0x50000 0xfa0000>;
136 reg = <0xff0000 0x10000>;
145 mtd-cal-data = <&art 0x1000>;
146 mtd-mac-address = <&art 0x1002>;
150 enable_gpio15: pinmux_enable_gpio15 {
151 pinctrl-single,bits = <0xc 0x0 0xff000000>;
154 enable_gpio19: pinmux_enable_gpio19 {
155 pinctrl-single,bits = <0x10 0x0 0xff000000>;
158 enable_gpio20_gpio22: pinmux_enable_gpio20_gpio22 {
159 pinctrl-single,bits = <0x14 0x0 0xff00ff>;
162 enable_gpio21: pinmux_enable_gpio21 {
163 pinctrl-single,bits = <0x14 0x0 0xff00>;