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>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&enable_gpio21>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&jtag_disable_pins>;
98 phy-handle = <&swphy4>;
99 mtd-mac-address = <&art 0x0>;
104 mtd-mac-address = <&art 0x6>;
108 num-chipselects = <1>;
112 compatible = "jedec,spi-nor";
113 spi-max-frequency = <22000000>;
117 compatible = "fixed-partitions";
118 #address-cells = <1>;
127 reg = <0x40000 0x10000>;
132 compatible = "denx,uimage";
133 reg = <0x50000 0xfa0000>;
137 reg = <0xff0000 0x10000>;
146 mtd-cal-data = <&art 0x1000>;
147 mtd-mac-address = <&art 0x1002>;
151 enable_gpio15: pinmux_enable_gpio15 {
152 pinctrl-single,bits = <0xc 0x0 0xff000000>;
155 enable_gpio19: pinmux_enable_gpio19 {
156 pinctrl-single,bits = <0x10 0x0 0xff000000>;
159 enable_gpio20_gpio22: pinmux_enable_gpio20_gpio22 {
160 pinctrl-single,bits = <0x14 0x0 0xff00ff>;
163 enable_gpio21: pinmux_enable_gpio21 {
164 pinctrl-single,bits = <0x14 0x0 0xff00>;