diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-08-01 03:41:21 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-09-19 17:37:35 -0400 |
commit | dbffb5a1525dc88f1c871c48574634f14845b43d (patch) | |
tree | 1b1152687cf8e10b5fbbc0dc2a0ac7caabc7fdee /arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
ARM: shmobile: ape6evm-reference: add MMCIF and SDHI DT nodes
This patch adds MMCIF0, SDHI0 and SDHI1 DT nodes and a fixed voltage
reglator for them to the ape6evm-reference platform.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts index f444624eb097..2b49b05ae2f4 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | /dts-v1/; | 11 | /dts-v1/; |
12 | /include/ "r8a73a4.dtsi" | 12 | /include/ "r8a73a4.dtsi" |
13 | #include <dt-bindings/gpio/gpio.h> | ||
13 | 14 | ||
14 | / { | 15 | / { |
15 | model = "APE6EVM"; | 16 | model = "APE6EVM"; |
@@ -24,6 +25,34 @@ | |||
24 | reg = <0 0x40000000 0 0x40000000>; | 25 | reg = <0 0x40000000 0 0x40000000>; |
25 | }; | 26 | }; |
26 | 27 | ||
28 | vcc_mmc0: regulator@0 { | ||
29 | compatible = "regulator-fixed"; | ||
30 | regulator-name = "MMC0 Vcc"; | ||
31 | regulator-min-microvolt = <2800000>; | ||
32 | regulator-max-microvolt = <2800000>; | ||
33 | regulator-always-on; | ||
34 | }; | ||
35 | |||
36 | vcc_sdhi0: regulator@1 { | ||
37 | compatible = "regulator-fixed"; | ||
38 | |||
39 | regulator-name = "SDHI0 Vcc"; | ||
40 | regulator-min-microvolt = <3300000>; | ||
41 | regulator-max-microvolt = <3300000>; | ||
42 | |||
43 | gpio = <&pfc 76 GPIO_ACTIVE_HIGH>; | ||
44 | enable-active-high; | ||
45 | }; | ||
46 | |||
47 | /* Common 3.3V rail, used by several devices on APE6EVM */ | ||
48 | ape6evm_fixed_3v3: regulator@2 { | ||
49 | compatible = "regulator-fixed"; | ||
50 | regulator-name = "3V3"; | ||
51 | regulator-min-microvolt = <3300000>; | ||
52 | regulator-max-microvolt = <3300000>; | ||
53 | regulator-always-on; | ||
54 | }; | ||
55 | |||
27 | lbsc { | 56 | lbsc { |
28 | compatible = "simple-bus"; | 57 | compatible = "simple-bus"; |
29 | #address-cells = <1>; | 58 | #address-cells = <1>; |
@@ -62,4 +91,47 @@ | |||
62 | renesas,groups = "scifa0_data"; | 91 | renesas,groups = "scifa0_data"; |
63 | renesas,function = "scifa0"; | 92 | renesas,function = "scifa0"; |
64 | }; | 93 | }; |
94 | |||
95 | mmc0_pins: mmcif { | ||
96 | renesas,groups = "mmc0_data8", "mmc0_ctrl"; | ||
97 | renesas,function = "mmc0"; | ||
98 | }; | ||
99 | |||
100 | sdhi0_pins: sdhi0 { | ||
101 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd"; | ||
102 | renesas,function = "sdhi0"; | ||
103 | }; | ||
104 | |||
105 | sdhi1_pins: sdhi1 { | ||
106 | renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; | ||
107 | renesas,function = "sdhi1"; | ||
108 | }; | ||
109 | }; | ||
110 | |||
111 | &mmcif0 { | ||
112 | vmmc-supply = <&vcc_mmc0>; | ||
113 | bus-width = <8>; | ||
114 | non-removable; | ||
115 | pinctrl-names = "default"; | ||
116 | pinctrl-0 = <&mmc0_pins>; | ||
117 | status = "okay"; | ||
118 | }; | ||
119 | |||
120 | &sdhi0 { | ||
121 | vmmc-supply = <&vcc_sdhi0>; | ||
122 | bus-width = <4>; | ||
123 | toshiba,mmc-wrprotect-disable; | ||
124 | pinctrl-names = "default"; | ||
125 | pinctrl-0 = <&sdhi0_pins>; | ||
126 | status = "okay"; | ||
127 | }; | ||
128 | |||
129 | &sdhi1 { | ||
130 | vmmc-supply = <&ape6evm_fixed_3v3>; | ||
131 | bus-width = <4>; | ||
132 | broken-cd; | ||
133 | toshiba,mmc-wrprotect-disable; | ||
134 | pinctrl-names = "default"; | ||
135 | pinctrl-0 = <&sdhi1_pins>; | ||
136 | status = "okay"; | ||
65 | }; | 137 | }; |