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>
10 compatible = "zbtlink,zbt-wd323", "qca,ar9344";
13 compatible = "gpio-keys";
17 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
18 linux,code = <KEY_RESTART>;
23 compatible = "i2c-gpio";
27 pinctrl-names = "default";
28 pinctrl-0 = <&enable_gpio15 &enable_gpio19>;
30 sda-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
31 scl-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
33 /* can be removed on 4.19 */
34 gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
35 <&gpio 15 GPIO_ACTIVE_LOW>;
38 compatible = "nxp,pcf8563";
45 compatible = "gpio-leds";
47 pinctrl-names = "default";
48 pinctrl-0 = <&enable_gpio20_gpio22>;
51 label = "zbt-wd323:green:wifi";
52 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy0tpt";
57 label = "zbt-wd323:orange:lan1";
58 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
62 label = "zbt-wd323:orange:lan2";
63 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&enable_gpio21>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&jtag_disable_pins>;
94 phy-handle = <&swphy4>;
95 mtd-mac-address = <&art 0x0>;
100 mtd-mac-address = <&art 0x6>;
104 num-chipselects = <1>;
108 compatible = "jedec,spi-nor";
109 spi-max-frequency = <22000000>;
113 compatible = "fixed-partitions";
114 #address-cells = <1>;
123 reg = <0x40000 0x10000>;
128 compatible = "denx,uimage";
129 reg = <0x50000 0xfa0000>;
133 reg = <0xff0000 0x10000>;
142 mtd-cal-data = <&art 0x1000>;
146 enable_gpio15: pinmux_enable_gpio15 {
147 pinctrl-single,bits = <0xc 0x0 0xff000000>;
150 enable_gpio19: pinmux_enable_gpio19 {
151 pinctrl-single,bits = <0x10 0x0 0xff000000>;
154 enable_gpio20_gpio22: pinmux_enable_gpio20_gpio22 {
155 pinctrl-single,bits = <0x14 0x0 0xff00ff>;
158 enable_gpio21: pinmux_enable_gpio21 {
159 pinctrl-single,bits = <0x14 0x0 0xff00>;