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>
10 model = "Arduino Yun";
11 compatible = "arduino,yun", "qca,ar9331";
18 bootargs = "console=ttyATH0,250000";
23 pinmux_extended: pinmux@18040030 {
24 compatible = "pinctrl-single";
25 reg = <0x18040030 0x4>;
27 pinctrl-single,bit-per-mux;
28 pinctrl-single,register-width = <32>;
29 pinctrl-single,function-mask = <0x1>;
32 enable_gpio11: pinmux_enable_gpio11 {
33 pinctrl-single,bits = <0x0 0x200 0x200>;
37 pinmux_bootstrap: pinmux@180600ac {
38 compatible = "pinctrl-single";
39 reg = <0x180600ac 0x4>;
41 pinctrl-single,bit-per-mux;
42 pinctrl-single,register-width = <32>;
43 pinctrl-single,function-mask = <0x1>;
46 enable_gpio26_gpio27: pinmux_enable_gpio26_gpio27 {
47 pinctrl-single,bits = <0x0 0x40000 0x40000>;
54 compatible = "gpio-leds";
57 label = "yun:blue:wlan";
58 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
59 linux,default-trigger = "phy0tpt";
63 label = "yun:white:usb";
64 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
65 trigger-sources = <&hub_port1>;
66 linux,default-trigger = "usbport";
71 compatible = "gpio-keys";
76 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
81 compatible = "gpio-export";
84 gpio-export,name = "yun:oe:spi";
85 gpio-export,output = <0>;
86 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
89 gpio_handshake_enable {
90 gpio-export,name = "yun:oe:hs";
91 gpio-export,output = <0>;
92 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
96 gpio-export,name = "yun:oe:uart";
97 gpio-export,output = <0>;
98 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
102 reg_usb_vbus: reg_usb_vbus {
103 compatible = "regulator-fixed";
104 regulator-name = "usb_vbus";
105 regulator-min-microvolt = <5000000>;
106 regulator-max-microvolt = <5000000>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins>;
124 &switch_led_disable_pins {
125 pinctrl-single,bits = <0x0 0x80 0xf8>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&enable_gpio11>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&enable_gpio26_gpio27>;
141 #address-cells = <1>;
144 vbus-supply = <®_usb_vbus>;
147 #address-cells = <1>;
150 #trigger-source-cells = <0>;
154 #trigger-source-cells = <0>;
169 compatible = "jedec,spi-nor";
171 spi-max-frequency = <50000000>;
174 compatible = "fixed-partitions";
175 #address-cells = <1>;
185 label = "u-boot-env";
186 reg = <0x40000 0x10000>;
190 compatible = "denx,uimage";
192 reg = <0x50000 0xf90000>;
197 reg = <0xfe0000 0x10000>;
200 art: partition@ff0000 {
202 reg = <0xff0000 0x10000>;
216 compatible = "syscon", "simple-mfd";
222 mtd-cal-data = <&art 0x1000>;