blob: 6e9deb786a7d1e4d6a19ee5a1613da8dde882bc0 [file] [log] [blame]
Simon Arlottec9653b2012-05-26 01:04:43 -06001/dts-v1/;
Simon Arlottec9653b2012-05-26 01:04:43 -06002/include/ "bcm2835.dtsi"
3
4/ {
5 compatible = "raspberrypi,model-b", "brcm,bcm2835";
6 model = "Raspberry Pi Model B";
7
8 memory {
9 reg = <0 0x10000000>;
10 };
Daniel Mack805b4db2013-04-28 22:49:52 +020011
12 leds {
13 compatible = "gpio-leds";
14
15 act {
16 label = "ACT";
17 gpios = <&gpio 16 1>;
18 default-state = "keep";
19 linux,default-trigger = "heartbeat";
20 };
21 };
Simon Arlottec9653b2012-05-26 01:04:43 -060022};
Stephen Warren805504a2012-09-27 21:54:21 -060023
24&gpio {
25 pinctrl-names = "default";
26 pinctrl-0 = <&alt0 &alt3>;
27
28 alt0: alt0 {
29 brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11 14 15 40 45>;
30 brcm,function = <4>; /* alt0 */
31 };
32
33 alt3: alt3 {
34 brcm,pins = <48 49 50 51 52 53>;
35 brcm,function = <7>; /* alt3 */
36 };
37};
Stephen Warren5186bf22012-12-24 21:58:56 -070038
Stephen Warren232fed42012-12-31 23:26:45 -070039&i2c0 {
40 status = "okay";
41 clock-frequency = <100000>;
42};
43
44&i2c1 {
45 status = "okay";
46 clock-frequency = <100000>;
47};
48
Stephen Warren5186bf22012-12-24 21:58:56 -070049&sdhci {
50 status = "okay";
51 bus-width = <4>;
52};