diff options
author | Balaji T K <balajitk@ti.com> | 2014-03-03 09:50:18 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-03-05 14:53:36 -0500 |
commit | 506be3fba6b25df4ea6803ad5e8a988f800514c2 (patch) | |
tree | 76a5f8a4c7c8026a0e4b78ae5c0034bff93ed081 /arch/arm | |
parent | 073addc865b154585f89e2f2f7abcc5f9bb9f456 (diff) |
ARM: dts: am437x gp-evm: add sd card dt nodes
enable sd card slot on am437x-gp-evm
Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/am437x-gp-evm.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 4eb72b803d6d..df8798e8bd25 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts | |||
@@ -19,6 +19,14 @@ | |||
19 | model = "TI AM437x GP EVM"; | 19 | model = "TI AM437x GP EVM"; |
20 | compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; | 20 | compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; |
21 | 21 | ||
22 | vmmcsd_fixed: fixedregulator-sd { | ||
23 | compatible = "regulator-fixed"; | ||
24 | regulator-name = "vmmcsd_fixed"; | ||
25 | regulator-min-microvolt = <3300000>; | ||
26 | regulator-max-microvolt = <3300000>; | ||
27 | enable-active-high; | ||
28 | }; | ||
29 | |||
22 | backlight { | 30 | backlight { |
23 | compatible = "pwm-backlight"; | 31 | compatible = "pwm-backlight"; |
24 | pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; | 32 | pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; |
@@ -62,6 +70,12 @@ | |||
62 | >; | 70 | >; |
63 | }; | 71 | }; |
64 | 72 | ||
73 | mmc1_pins: pinmux_mmc1_pins { | ||
74 | pinctrl-single,pins = < | ||
75 | 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ | ||
76 | >; | ||
77 | }; | ||
78 | |||
65 | ecap0_pins: backlight_pins { | 79 | ecap0_pins: backlight_pins { |
66 | pinctrl-single,pins = < | 80 | pinctrl-single,pins = < |
67 | 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ | 81 | 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ |
@@ -91,6 +105,10 @@ | |||
91 | pinctrl-0 = <&ecap0_pins>; | 105 | pinctrl-0 = <&ecap0_pins>; |
92 | }; | 106 | }; |
93 | 107 | ||
108 | &gpio0 { | ||
109 | status = "okay"; | ||
110 | }; | ||
111 | |||
94 | &gpio3 { | 112 | &gpio3 { |
95 | status = "okay"; | 113 | status = "okay"; |
96 | }; | 114 | }; |
@@ -98,3 +116,12 @@ | |||
98 | &gpio4 { | 116 | &gpio4 { |
99 | status = "okay"; | 117 | status = "okay"; |
100 | }; | 118 | }; |
119 | |||
120 | &mmc1 { | ||
121 | status = "okay"; | ||
122 | vmmc-supply = <&vmmcsd_fixed>; | ||
123 | bus-width = <4>; | ||
124 | pinctrl-names = "default"; | ||
125 | pinctrl-0 = <&mmc1_pins>; | ||
126 | cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; | ||
127 | }; | ||