Skip to content

Commit

Permalink
ARM: dts: sun8i: Enable mmc controller on ippo-q8h-v5
Browse files Browse the repository at this point in the history
The card detect pin setting was taken from the original fex file,
and is confirmed to work.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Chen-Yu Tsai authored and Maxime Ripard committed Aug 17, 2014
1 parent eacda1f commit cd78d3f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

/dts-v1/;
/include/ "sun8i-a23.dtsi"
/include/ "sunxi-common-regulators.dtsi"

/ {
model = "Ippo Q8H Dual Core Tablet (v5)";
Expand All @@ -23,6 +24,25 @@
};

soc@01c00000 {
mmc0: mmc@01c0f000 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>;
vmmc-supply = <&reg_vcc3v0>;
bus-width = <4>;
cd-gpios = <&pio 1 4 0>; /* PB4 */
cd-inverted;
status = "okay";
};

pinctrl@01c20800 {
mmc0_cd_pin_q8h: mmc0_cd_pin@0 {
allwinner,pins = "PB4";
allwinner,function = "gpio_in";
allwinner,drive = <0>;
allwinner,pull = <1>;
};
};

r_uart: serial@01f02800 {
pinctrl-names = "default";
pinctrl-0 = <&r_uart_pins_a>;
Expand Down

0 comments on commit cd78d3f

Please sign in to comment.