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 = "arduino,yun", "qca,ar9331";
17 bootargs = "console=ttyATH0,250000";
22 pinmux_extended: pinmux@18040030 {
23 compatible = "pinctrl-single";
24 reg = <0x18040030 0x4>;
26 pinctrl-single,bit-per-mux;
27 pinctrl-single,register-width = <32>;
28 pinctrl-single,function-mask = <0x1>;
31 enable_gpio11: pinmux_enable_gpio11 {
32 pinctrl-single,bits = <0x0 0x200 0x200>;
36 pinmux_bootstrap: pinmux@180600ac {
37 compatible = "pinctrl-single";
38 reg = <0x180600ac 0x4>;
40 pinctrl-single,bit-per-mux;
41 pinctrl-single,register-width = <32>;
42 pinctrl-single,function-mask = <0x1>;
45 enable_gpio26_gpio27: pinmux_enable_gpio26_gpio27 {
46 pinctrl-single,bits = <0x0 0x40000 0x40000>;
53 compatible = "gpio-leds";
56 label = "yun:blue:wlan";
57 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "phy0tpt";
62 label = "yun:white:usb";
63 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
64 trigger-sources = <&hub_port1>;
65 linux,default-trigger = "usbport";
70 compatible = "gpio-keys";
75 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
80 compatible = "gpio-export";
83 gpio-export,name = "yun:oe:spi";
84 gpio-export,output = <0>;
85 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
88 gpio_handshake_enable {
89 gpio-export,name = "yun:oe:hs";
90 gpio-export,output = <0>;
91 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
95 gpio-export,name = "yun:oe:uart";
96 gpio-export,output = <0>;
97 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
101 reg_usb_vbus: reg_usb_vbus {
102 compatible = "regulator-fixed";
103 regulator-name = "usb_vbus";
104 regulator-min-microvolt = <5000000>;
105 regulator-max-microvolt = <5000000>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins>;
123 &switch_led_disable_pins {
124 pinctrl-single,bits = <0x0 0x80 0xf8>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&enable_gpio11>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&enable_gpio26_gpio27>;
140 #address-cells = <1>;
143 vbus-supply = <®_usb_vbus>;
146 #address-cells = <1>;
149 #trigger-source-cells = <0>;
153 #trigger-source-cells = <0>;
168 compatible = "jedec,spi-nor";
170 spi-max-frequency = <50000000>;
173 compatible = "fixed-partitions";
174 #address-cells = <1>;
184 label = "u-boot-env";
185 reg = <0x40000 0x10000>;
189 compatible = "denx,uimage";
191 reg = <0x50000 0xf90000>;
196 reg = <0xfe0000 0x10000>;
199 art: partition@ff0000 {
201 reg = <0xff0000 0x10000>;
215 compatible = "syscon", "simple-mfd";
221 mtd-cal-data = <&art 0x1000>;