Skip to content

Commit

Permalink
Merge branch 'nextthing/4.2/dt' into nextthing/4.2/chip
Browse files Browse the repository at this point in the history
  • Loading branch information
mripard committed Jul 22, 2015
2 parents 3407f0c + 21e562a commit fbc6690
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion arch/arm/boot/dts/sun5i-r8-chip.dts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,18 @@
vin-supply = <&ipsout>;
regulator-always-on;
};

wifi_reg_on: wifi_reg_on {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&chip_wifi_reg_on_pin>;

regulator-name = "wifi-reg-on";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&pio 2 19 GPIO_ACTIVE_HIGH>; /* PC19 */
enable-active-high;
};
};

&ehci0 {
Expand Down Expand Up @@ -214,10 +226,14 @@
};
};

&mmc0_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
};

&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>;
vmmc-supply = <&vcc_3v3>;
vmmc-supply = <&wifi_reg_on>;
bus-width = <4>;
non-removable;
status = "okay";
Expand All @@ -239,6 +255,13 @@
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};

chip_wifi_reg_on_pin: chip_wifi_reg_on_pin@0 {
allwinner,pins = "PC19";
allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};

chip_id_det_pin: chip_id_det_pin@0 {
allwinner,pins = "PG2";
allwinner,function = "gpio_in";
Expand Down

0 comments on commit fbc6690

Please sign in to comment.