2 * Copyright 2014 Hans de Goede <hdegoede@redhat.com>
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
13 /include/ "sun5i-a10s.dtsi"
14 /include/ "sunxi-common-regulators.dtsi"
17 model = "R7 A10s hdmi tv-stick";
18 compatible = "allwinner,r7-tv-dongle", "allwinner,sun5i-a10s";
22 pinctrl-names = "default";
23 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_r7>;
24 vmmc-supply = <®_vcc3v3>;
26 cd-gpios = <&pio 6 1 0>; /* PG1 */
32 pinctrl-names = "default";
33 pinctrl-0 = <&mmc1_pins_a>;
34 vmmc-supply = <®_vcc3v3>;
40 usbphy: phy@01c13400 {
41 usb1_vbus-supply = <®_usb1_vbus>;
54 mmc0_cd_pin_r7: mmc0_cd_pin@0 {
55 allwinner,pins = "PG1";
56 allwinner,function = "gpio_in";
57 allwinner,drive = <0>;
61 led_pins_r7: led_pins@0 {
62 allwinner,pins = "PB2";
63 allwinner,function = "gpio_out";
64 allwinner,drive = <1>;
68 usb1_vbus_pin_r7: usb1_vbus_pin@0 {
69 allwinner,pins = "PG13";
70 allwinner,function = "gpio_out";
71 allwinner,drive = <0>;
76 uart0: serial@01c28000 {
77 pinctrl-names = "default";
78 pinctrl-0 = <&uart0_pins_a>;
84 compatible = "gpio-leds";
85 pinctrl-names = "default";
86 pinctrl-0 = <&led_pins_r7>;
89 label = "r7-tv-dongle:green:usr";
95 reg_usb1_vbus: usb1-vbus {
96 pinctrl-0 = <&usb1_vbus_pin_r7>;