Skip to content

Commit

Permalink
ARM: shmobile: silk: add eMMC DT support
Browse files Browse the repository at this point in the history
Define the SILK board dependent part of the MMCIF device node (the board has
eMMC chip) along with the  necessary voltage regulator (note that the Vcc/Vccq
regulator is dummy -- it's required by the MMCIF driver but doesn't actually
exist on the board).

Based on the original patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Aug 3, 2015
1 parent 6cdf6ba commit 054531e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/r8a7794-silk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@
device_type = "memory";
reg = <0 0x40000000 0 0x40000000>;
};

d3_3v: regulator@0 {
compatible = "regulator-fixed";
regulator-name = "D3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
};

&extal_clk {
Expand All @@ -51,6 +60,11 @@
renesas,groups = "intc_irq8";
renesas,function = "intc";
};

mmcif0_pins: mmcif0 {
renesas,groups = "mmc_data8", "mmc_ctrl";
renesas,function = "mmc";
};
};

&scif2 {
Expand All @@ -75,3 +89,14 @@
micrel,led-mode = <1>;
};
};

&mmcif0 {
pinctrl-0 = <&mmcif0_pins>;
pinctrl-names = "default";

vmmc-supply = <&d3_3v>;
vqmmc-supply = <&d3_3v>;
bus-width = <8>;
non-removable;
status = "okay";
};

0 comments on commit 054531e

Please sign in to comment.