diff options
Diffstat (limited to 'arch/arm/boot/dts/snowball.dts')
-rw-r--r-- | arch/arm/boot/dts/snowball.dts | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts index d99dc04f0d91..ec3c33975110 100644 --- a/arch/arm/boot/dts/snowball.dts +++ b/arch/arm/boot/dts/snowball.dts | |||
@@ -20,6 +20,16 @@ | |||
20 | reg = <0x00000000 0x20000000>; | 20 | reg = <0x00000000 0x20000000>; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | en_3v3_reg: en_3v3 { | ||
24 | compatible = "regulator-fixed"; | ||
25 | regulator-name = "en-3v3-fixed-supply"; | ||
26 | regulator-min-microvolt = <3300000>; | ||
27 | regulator-max-microvolt = <3300000>; | ||
28 | gpios = <&gpio0 26 0x4>; // 26 | ||
29 | startup-delay-us = <5000>; | ||
30 | enable-active-high; | ||
31 | }; | ||
32 | |||
23 | gpio_keys { | 33 | gpio_keys { |
24 | compatible = "gpio-keys"; | 34 | compatible = "gpio-keys"; |
25 | #address-cells = <1>; | 35 | #address-cells = <1>; |
@@ -30,35 +40,35 @@ | |||
30 | wakeup = <1>; | 40 | wakeup = <1>; |
31 | linux,code = <2>; | 41 | linux,code = <2>; |
32 | label = "userpb"; | 42 | label = "userpb"; |
33 | gpios = <&gpio1 0 0>; | 43 | gpios = <&gpio1 0 0x4>; |
34 | }; | 44 | }; |
35 | button@2 { | 45 | button@2 { |
36 | debounce_interval = <50>; | 46 | debounce_interval = <50>; |
37 | wakeup = <1>; | 47 | wakeup = <1>; |
38 | linux,code = <3>; | 48 | linux,code = <3>; |
39 | label = "extkb1"; | 49 | label = "extkb1"; |
40 | gpios = <&gpio4 23 0>; | 50 | gpios = <&gpio4 23 0x4>; |
41 | }; | 51 | }; |
42 | button@3 { | 52 | button@3 { |
43 | debounce_interval = <50>; | 53 | debounce_interval = <50>; |
44 | wakeup = <1>; | 54 | wakeup = <1>; |
45 | linux,code = <4>; | 55 | linux,code = <4>; |
46 | label = "extkb2"; | 56 | label = "extkb2"; |
47 | gpios = <&gpio4 24 0>; | 57 | gpios = <&gpio4 24 0x4>; |
48 | }; | 58 | }; |
49 | button@4 { | 59 | button@4 { |
50 | debounce_interval = <50>; | 60 | debounce_interval = <50>; |
51 | wakeup = <1>; | 61 | wakeup = <1>; |
52 | linux,code = <5>; | 62 | linux,code = <5>; |
53 | label = "extkb3"; | 63 | label = "extkb3"; |
54 | gpios = <&gpio5 1 0>; | 64 | gpios = <&gpio5 1 0x4>; |
55 | }; | 65 | }; |
56 | button@5 { | 66 | button@5 { |
57 | debounce_interval = <50>; | 67 | debounce_interval = <50>; |
58 | wakeup = <1>; | 68 | wakeup = <1>; |
59 | linux,code = <6>; | 69 | linux,code = <6>; |
60 | label = "extkb4"; | 70 | label = "extkb4"; |
61 | gpios = <&gpio5 2 0>; | 71 | gpios = <&gpio5 2 0x4>; |
62 | }; | 72 | }; |
63 | }; | 73 | }; |
64 | 74 | ||
@@ -66,12 +76,11 @@ | |||
66 | compatible = "gpio-leds"; | 76 | compatible = "gpio-leds"; |
67 | used-led { | 77 | used-led { |
68 | label = "user_led"; | 78 | label = "user_led"; |
69 | gpios = <&gpio4 14>; | 79 | gpios = <&gpio4 14 0x4>; |
70 | }; | 80 | }; |
71 | }; | 81 | }; |
72 | 82 | ||
73 | soc-u9500 { | 83 | soc-u9500 { |
74 | |||
75 | external-bus@50000000 { | 84 | external-bus@50000000 { |
76 | status = "okay"; | 85 | status = "okay"; |
77 | 86 | ||
@@ -80,6 +89,9 @@ | |||
80 | reg = <0 0x10000>; | 89 | reg = <0 0x10000>; |
81 | interrupts = <12 0x1>; | 90 | interrupts = <12 0x1>; |
82 | interrupt-parent = <&gpio4>; | 91 | interrupt-parent = <&gpio4>; |
92 | vdd33a-supply = <&en_3v3_reg>; | ||
93 | vddvario-supply = <&db8500_vape_reg>; | ||
94 | |||
83 | 95 | ||
84 | reg-shift = <1>; | 96 | reg-shift = <1>; |
85 | reg-io-width = <2>; | 97 | reg-io-width = <2>; |
@@ -91,11 +103,13 @@ | |||
91 | 103 | ||
92 | sdi@80126000 { | 104 | sdi@80126000 { |
93 | status = "enabled"; | 105 | status = "enabled"; |
94 | cd-gpios = <&gpio6 26>; | 106 | vmmc-supply = <&ab8500_ldo_aux3_reg>; |
107 | cd-gpios = <&gpio6 26 0x4>; // 218 | ||
95 | }; | 108 | }; |
96 | 109 | ||
97 | sdi@80114000 { | 110 | sdi@80114000 { |
98 | status = "enabled"; | 111 | status = "enabled"; |
112 | vmmc-supply = <&ab8500_ldo_aux2_reg>; | ||
99 | }; | 113 | }; |
100 | 114 | ||
101 | uart@80120000 { | 115 | uart@80120000 { |
@@ -114,7 +128,7 @@ | |||
114 | tc3589x@42 { | 128 | tc3589x@42 { |
115 | //compatible = "tc3589x"; | 129 | //compatible = "tc3589x"; |
116 | reg = <0x42>; | 130 | reg = <0x42>; |
117 | interrupts = <25>; | 131 | gpios = <&gpio6 25 0x4>; |
118 | interrupt-parent = <&gpio6>; | 132 | interrupt-parent = <&gpio6>; |
119 | }; | 133 | }; |
120 | tps61052@33 { | 134 | tps61052@33 { |