]>
Commit | Line | Data |
---|---|---|
2d334297 AB |
1 | /* |
2 | * Copyright 2011 ST-Ericsson AB | |
3 | * | |
4 | * The code contained herein is licensed under the GNU General Public | |
5 | * License. You may obtain a copy of the GNU General Public License | |
6 | * Version 2 or later at the following locations: | |
7 | * | |
8 | * http://www.opensource.org/licenses/gpl-license.html | |
9 | * http://www.gnu.org/copyleft/gpl.html | |
10 | */ | |
11 | ||
12 | /dts-v1/; | |
5d0769f0 | 13 | /include/ "db8500.dtsi" |
2d334297 AB |
14 | |
15 | / { | |
16 | model = "Calao Systems Snowball platform with device tree"; | |
17 | compatible = "calaosystems,snowball-a9500"; | |
18 | ||
2d334297 AB |
19 | memory { |
20 | reg = <0x00000000 0x20000000>; | |
21 | }; | |
22 | ||
7e0ce270 LJ |
23 | gpio_keys { |
24 | compatible = "gpio-keys"; | |
25 | #address-cells = <1>; | |
26 | #size-cells = <0>; | |
27 | ||
28 | button@1 { | |
29 | debounce_interval = <50>; | |
30 | wakeup = <1>; | |
31 | linux,code = <2>; | |
32 | label = "userpb"; | |
93b5698a | 33 | gpios = <&gpio1 0 0x4>; |
7e0ce270 LJ |
34 | }; |
35 | button@2 { | |
36 | debounce_interval = <50>; | |
37 | wakeup = <1>; | |
38 | linux,code = <3>; | |
3f3ed400 | 39 | label = "extkb1"; |
93b5698a | 40 | gpios = <&gpio4 23 0x4>; |
7e0ce270 LJ |
41 | }; |
42 | button@3 { | |
43 | debounce_interval = <50>; | |
44 | wakeup = <1>; | |
45 | linux,code = <4>; | |
3f3ed400 | 46 | label = "extkb2"; |
93b5698a | 47 | gpios = <&gpio4 24 0x4>; |
7e0ce270 LJ |
48 | }; |
49 | button@4 { | |
50 | debounce_interval = <50>; | |
51 | wakeup = <1>; | |
52 | linux,code = <5>; | |
3f3ed400 | 53 | label = "extkb3"; |
93b5698a | 54 | gpios = <&gpio5 1 0x4>; |
7e0ce270 LJ |
55 | }; |
56 | button@5 { | |
57 | debounce_interval = <50>; | |
58 | wakeup = <1>; | |
59 | linux,code = <6>; | |
3f3ed400 | 60 | label = "extkb4"; |
93b5698a | 61 | gpios = <&gpio5 2 0x4>; |
7e0ce270 LJ |
62 | }; |
63 | }; | |
64 | ||
65 | leds { | |
66 | compatible = "gpio-leds"; | |
67 | used-led { | |
68 | label = "user_led"; | |
93b5698a | 69 | gpios = <&gpio4 14 0x4>; |
7e0ce270 LJ |
70 | }; |
71 | }; | |
72 | ||
2d334297 | 73 | soc-u9500 { |
7e0ce270 | 74 | external-bus@50000000 { |
bf76e062 LJ |
75 | status = "okay"; |
76 | ||
77 | ethernet@0 { | |
78 | compatible = "smsc,lan9115"; | |
79 | reg = <0 0x10000>; | |
80 | interrupts = <12 0x1>; | |
7e0ce270 | 81 | interrupt-parent = <&gpio4>; |
bf76e062 LJ |
82 | |
83 | reg-shift = <1>; | |
84 | reg-io-width = <2>; | |
85 | smsc,force-internal-phy; | |
86 | smsc,irq-active-high; | |
87 | smsc,irq-push-pull; | |
7e0ce270 LJ |
88 | }; |
89 | }; | |
90 | ||
91 | sdi@80126000 { | |
92 | status = "enabled"; | |
93b5698a | 93 | cd-gpios = <&gpio6 26 0x4>; // 218 |
7e0ce270 LJ |
94 | }; |
95 | ||
96 | sdi@80114000 { | |
97 | status = "enabled"; | |
98 | }; | |
99 | ||
4905af0e LJ |
100 | uart@80120000 { |
101 | status = "okay"; | |
102 | }; | |
103 | ||
104 | uart@80121000 { | |
105 | status = "okay"; | |
106 | }; | |
107 | ||
108 | uart@80007000 { | |
109 | status = "okay"; | |
110 | }; | |
111 | ||
7e0ce270 LJ |
112 | i2c@80004000 { |
113 | tc3589x@42 { | |
114 | //compatible = "tc3589x"; | |
115 | reg = <0x42>; | |
93b5698a | 116 | gpios = <&gpio6 25 0x4>; |
7e0ce270 LJ |
117 | interrupt-parent = <&gpio6>; |
118 | }; | |
119 | tps61052@33 { | |
120 | //compatible = "tps61052"; | |
121 | reg = <0x33>; | |
122 | }; | |
123 | }; | |
124 | ||
125 | i2c@80128000 { | |
126 | lp5521@0x33 { | |
127 | // compatible = "lp5521"; | |
128 | reg = <0x33>; | |
129 | }; | |
130 | lp5521@0x34 { | |
131 | // compatible = "lp5521"; | |
132 | reg = <0x34>; | |
133 | }; | |
134 | bh1780@0x29 { | |
135 | // compatible = "rohm,bh1780gli"; | |
136 | reg = <0x33>; | |
137 | }; | |
138 | }; | |
2d334297 AB |
139 | }; |
140 | }; |