Alexander Aring | 5ec6f2c | 2015-12-16 16:26:49 -0800 | [diff] [blame] | 1 | #include <dt-bindings/power/raspberrypi-power.h> |
| 2 | |
Matthias Klein | ba2a1d6 | 2014-11-20 10:52:45 +0000 | [diff] [blame] | 3 | / { |
| 4 | memory { |
| 5 | reg = <0 0x10000000>; |
| 6 | }; |
| 7 | |
| 8 | leds { |
| 9 | compatible = "gpio-leds"; |
| 10 | |
| 11 | act { |
| 12 | label = "ACT"; |
| 13 | default-state = "keep"; |
| 14 | linux,default-trigger = "heartbeat"; |
| 15 | }; |
| 16 | }; |
Eric Anholt | b35ef52 | 2015-06-04 13:11:47 -0700 | [diff] [blame] | 17 | |
| 18 | soc { |
| 19 | firmware: firmware { |
| 20 | compatible = "raspberrypi,bcm2835-firmware"; |
| 21 | mboxes = <&mailbox>; |
| 22 | }; |
Alexander Aring | 5ec6f2c | 2015-12-16 16:26:49 -0800 | [diff] [blame] | 23 | |
| 24 | power: power { |
| 25 | compatible = "raspberrypi,bcm2835-power"; |
| 26 | firmware = <&firmware>; |
| 27 | #power-domain-cells = <1>; |
| 28 | }; |
Eric Anholt | b35ef52 | 2015-06-04 13:11:47 -0700 | [diff] [blame] | 29 | }; |
Matthias Klein | ba2a1d6 | 2014-11-20 10:52:45 +0000 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | &gpio { |
| 33 | pinctrl-names = "default"; |
| 34 | |
| 35 | gpioout: gpioout { |
| 36 | brcm,pins = <6>; |
Stefan Wahren | 1209111 | 2015-01-29 18:10:50 +0000 | [diff] [blame] | 37 | brcm,function = <BCM2835_FSEL_GPIO_OUT>; |
Matthias Klein | ba2a1d6 | 2014-11-20 10:52:45 +0000 | [diff] [blame] | 38 | }; |
| 39 | |
| 40 | alt0: alt0 { |
| 41 | brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>; |
Stefan Wahren | 1209111 | 2015-01-29 18:10:50 +0000 | [diff] [blame] | 42 | brcm,function = <BCM2835_FSEL_ALT0>; |
Matthias Klein | ba2a1d6 | 2014-11-20 10:52:45 +0000 | [diff] [blame] | 43 | }; |
| 44 | |
| 45 | alt3: alt3 { |
| 46 | brcm,pins = <48 49 50 51 52 53>; |
Stefan Wahren | 1209111 | 2015-01-29 18:10:50 +0000 | [diff] [blame] | 47 | brcm,function = <BCM2835_FSEL_ALT3>; |
Matthias Klein | ba2a1d6 | 2014-11-20 10:52:45 +0000 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | |
| 51 | &i2c0 { |
| 52 | status = "okay"; |
| 53 | clock-frequency = <100000>; |
| 54 | }; |
| 55 | |
| 56 | &i2c1 { |
| 57 | status = "okay"; |
| 58 | clock-frequency = <100000>; |
| 59 | }; |
| 60 | |
Eric Anholt | 121432c | 2015-10-09 14:27:47 -0700 | [diff] [blame] | 61 | &i2c2 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
Matthias Klein | ba2a1d6 | 2014-11-20 10:52:45 +0000 | [diff] [blame] | 65 | &sdhci { |
| 66 | status = "okay"; |
| 67 | bus-width = <4>; |
| 68 | }; |
Remi Pommarel | 40ad449 | 2015-12-21 21:12:59 +0100 | [diff] [blame] | 69 | |
| 70 | &pwm { |
| 71 | status = "okay"; |
| 72 | }; |
Alexander Aring | 5ec6f2c | 2015-12-16 16:26:49 -0800 | [diff] [blame] | 73 | |
| 74 | &usb { |
| 75 | power-domains = <&power RPI_POWER_DOMAIN_USB>; |
| 76 | }; |