Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 1 | /dts-v1/; |
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 2 | /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 | }; |
| 11 | }; |
Stephen Warren | 805504a | 2012-09-27 21:54:21 -0600 | [diff] [blame] | 12 | |
| 13 | &gpio { |
| 14 | pinctrl-names = "default"; |
| 15 | pinctrl-0 = <&alt0 &alt3>; |
| 16 | |
| 17 | alt0: alt0 { |
| 18 | brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11 14 15 40 45>; |
| 19 | brcm,function = <4>; /* alt0 */ |
| 20 | }; |
| 21 | |
| 22 | alt3: alt3 { |
| 23 | brcm,pins = <48 49 50 51 52 53>; |
| 24 | brcm,function = <7>; /* alt3 */ |
| 25 | }; |
| 26 | }; |
Stephen Warren | 5186bf2 | 2012-12-24 21:58:56 -0700 | [diff] [blame] | 27 | |
Stephen Warren | 232fed4 | 2012-12-31 23:26:45 -0700 | [diff] [blame] | 28 | &i2c0 { |
| 29 | status = "okay"; |
| 30 | clock-frequency = <100000>; |
| 31 | }; |
| 32 | |
| 33 | &i2c1 { |
| 34 | status = "okay"; |
| 35 | clock-frequency = <100000>; |
| 36 | }; |
| 37 | |
Stephen Warren | 5186bf2 | 2012-12-24 21:58:56 -0700 | [diff] [blame] | 38 | &sdhci { |
| 39 | status = "okay"; |
| 40 | bus-width = <4>; |
| 41 | }; |