blob: 81ff557177a72e59b6a1b822ae79a81862fa6a0f [file] [log] [blame]
Arnd Bergmann2d334292012-03-07 15:04:07 +00001/*
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/;
Arnd Bergmann5d0769f2012-03-02 23:07:21 +000013/include/ "db8500.dtsi"
Arnd Bergmann2d334292012-03-07 15:04:07 +000014
15/ {
16 model = "Calao Systems Snowball platform with device tree";
17 compatible = "calaosystems,snowball-a9500";
18
Arnd Bergmann2d334292012-03-07 15:04:07 +000019 memory {
20 reg = <0x00000000 0x20000000>;
21 };
22
Lee Jones7e0ce272012-03-15 16:46:17 +000023 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";
Lee Jones93b56982012-05-29 14:17:36 +080033 gpios = <&gpio1 0 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +000034 };
35 button@2 {
36 debounce_interval = <50>;
37 wakeup = <1>;
38 linux,code = <3>;
Lee Jones3f3ed402012-04-13 15:05:07 +010039 label = "extkb1";
Lee Jones93b56982012-05-29 14:17:36 +080040 gpios = <&gpio4 23 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +000041 };
42 button@3 {
43 debounce_interval = <50>;
44 wakeup = <1>;
45 linux,code = <4>;
Lee Jones3f3ed402012-04-13 15:05:07 +010046 label = "extkb2";
Lee Jones93b56982012-05-29 14:17:36 +080047 gpios = <&gpio4 24 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +000048 };
49 button@4 {
50 debounce_interval = <50>;
51 wakeup = <1>;
52 linux,code = <5>;
Lee Jones3f3ed402012-04-13 15:05:07 +010053 label = "extkb3";
Lee Jones93b56982012-05-29 14:17:36 +080054 gpios = <&gpio5 1 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +000055 };
56 button@5 {
57 debounce_interval = <50>;
58 wakeup = <1>;
59 linux,code = <6>;
Lee Jones3f3ed402012-04-13 15:05:07 +010060 label = "extkb4";
Lee Jones93b56982012-05-29 14:17:36 +080061 gpios = <&gpio5 2 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +000062 };
63 };
64
65 leds {
66 compatible = "gpio-leds";
67 used-led {
68 label = "user_led";
Lee Jones93b56982012-05-29 14:17:36 +080069 gpios = <&gpio4 14 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +000070 };
71 };
72
Arnd Bergmann2d334292012-03-07 15:04:07 +000073 soc-u9500 {
Lee Jones7e0ce272012-03-15 16:46:17 +000074 external-bus@50000000 {
Lee Jonesbf76e062012-04-24 10:53:18 +010075 status = "okay";
Lee Jones7e0ce272012-03-15 16:46:17 +000076
Lee Jonesbf76e062012-04-24 10:53:18 +010077 ethernet@0 {
78 compatible = "smsc,lan9115";
79 reg = <0 0x10000>;
80 interrupts = <12 0x1>;
Lee Jones7e0ce272012-03-15 16:46:17 +000081 interrupt-parent = <&gpio4>;
Lee Jonesbf76e062012-04-24 10:53:18 +010082
83 reg-shift = <1>;
84 reg-io-width = <2>;
85 smsc,force-internal-phy;
86 smsc,irq-active-high;
87 smsc,irq-push-pull;
Lee Jones7e0ce272012-03-15 16:46:17 +000088 };
89 };
90
91 sdi@80126000 {
92 status = "enabled";
Lee Jones93b56982012-05-29 14:17:36 +080093 cd-gpios = <&gpio6 26 0x4>; // 218
Lee Jones7e0ce272012-03-15 16:46:17 +000094 };
95
96 sdi@80114000 {
97 status = "enabled";
98 };
99
Lee Jones4905af02012-03-07 17:35:04 +0000100 uart@80120000 {
101 status = "okay";
102 };
103
104 uart@80121000 {
105 status = "okay";
106 };
107
108 uart@80007000 {
109 status = "okay";
110 };
111
Lee Jones7e0ce272012-03-15 16:46:17 +0000112 i2c@80004000 {
113 tc3589x@42 {
114 //compatible = "tc3589x";
115 reg = <0x42>;
Lee Jones93b56982012-05-29 14:17:36 +0800116 gpios = <&gpio6 25 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000117 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 };
Arnd Bergmann2d334292012-03-07 15:04:07 +0000139 };
140};