sunxi: move IR patch for bananapi
[openwrt/openwrt.git] / target / linux / sunxi / files / arch / arm / boot / dts / sun7i-a20-cubietruck.dts
index 4ef28fd725bfe84f1613a5d80f55f88ae4663620..8b1477926b155edbd8f99404aaf9b84af40f0844 100644 (file)
        compatible = "cubietech,cubietruck", "allwinner,sun7i-a20";
 
        soc@01c00000 {
-               sdc0: sdc@01c0f000 {
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&sdc0_pins_a>;
-                       pinctrl-1 = <&mmc0_cd_pin_cubietruck>;
-                       cd-gpios = <&pio 7 1 0>; /* PH1 */
-                       cd-mode = <1>;
-                       status = "okay";
-               };
-
-               ehci0: ehci0@0x01c14000 {
-                       vbus-supply = <&reg_usb1_vbus>;
-                       status = "okay";
-               };
-
-               sata: ahci@01c18000 {
-                       pwr-supply = <&reg_ahci_5v>;
-                       status = "okay";
-               };
-
-               ehci1: ehci1@0x01c1c000 {
-                       vbus-supply = <&reg_usb2_vbus>;
-                       status = "okay";
-               };
-
                pinctrl@01c20800 {
-                       mmc0_cd_pin_cubietruck: mmc0_cd_pin@0 {
-                               allwinner,pins = "PH1";
-                               allwinner,function = "gpio_in";
-                               allwinner,drive = <0>;
-                               allwinner,pull = <0>;
-                       };
-
-                       ahci_pwr_pin_cubietruck: ahci_pwr_pin@0 {
-                               allwinner,pins = "PH12";
-                               allwinner,function = "gpio_out";
-                               allwinner,drive = <0>;
-                               allwinner,pull = <0>;
-                       };
-
                        led_pins_cubietruck: led_pins@0 {
                                allwinner,pins = "PH7", "PH11", "PH20", "PH21";
                                allwinner,function = "gpio_out";
                        gpios = <&pio 7 7 0>;
                };
        };
-
-       regulators {
-               compatible = "simple-bus";
-               pinctrl-names = "default";
-
-               reg_ahci_5v: ahci-5v {
-                       compatible = "regulator-fixed";
-                       regulator-name = "ahci-5v";
-                       regulator-min-microvolt = <5000000>;
-                       regulator-max-microvolt = <5000000>;
-                       pinctrl-0 = <&ahci_pwr_pin_cubietruck>;
-                       gpio = <&pio 7 12 0>;
-                       enable-active-high;
-               };
-
-               reg_usb1_vbus: usb1-vbus {
-                       compatible = "regulator-fixed";
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&usb1_vbus_pin>;
-                       regulator-name = "usb1-vbus";
-                       regulator-min-microvolt = <5000000>;
-                       regulator-max-microvolt = <5000000>;
-                       enable-active-high;
-                       gpio = <&pio 7 6 0>;
-               };
-
-               reg_usb2_vbus: usb2-vbus {
-                       compatible = "regulator-fixed";
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&usb2_vbus_pin>;
-                       regulator-name = "usb2-vbus";
-                       regulator-min-microvolt = <5000000>;
-                       regulator-max-microvolt = <5000000>;
-                       enable-active-high;
-                       gpio = <&pio 7 3 0>;
-               };
-       };
 };