Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 1 | #include <dt-bindings/power/raspberrypi-power.h> |
| 2 | |
| 3 | / { |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 4 | leds { |
| 5 | compatible = "gpio-leds"; |
| 6 | |
Simon Glass | 0ca7009 | 2021-12-16 20:59:13 -0700 | [diff] [blame] | 7 | led-act { |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 8 | label = "ACT"; |
| 9 | default-state = "keep"; |
| 10 | linux,default-trigger = "heartbeat"; |
| 11 | }; |
| 12 | }; |
| 13 | |
| 14 | soc { |
| 15 | firmware: firmware { |
Simon Glass | 0ca7009 | 2021-12-16 20:59:13 -0700 | [diff] [blame] | 16 | compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
| 19 | |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 20 | mboxes = <&mailbox>; |
Simon Glass | 0ca7009 | 2021-12-16 20:59:13 -0700 | [diff] [blame] | 21 | dma-ranges; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | power: power { |
| 25 | compatible = "raspberrypi,bcm2835-power"; |
| 26 | firmware = <&firmware>; |
| 27 | #power-domain-cells = <1>; |
| 28 | }; |
Heinrich Schuchardt | be12fb9 | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 29 | |
| 30 | vchiq: mailbox@7e00b840 { |
| 31 | compatible = "brcm,bcm2835-vchiq"; |
| 32 | reg = <0x7e00b840 0x3c>; |
| 33 | interrupts = <0 2>; |
| 34 | }; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 35 | }; |
| 36 | }; |
| 37 | |
| 38 | &gpio { |
| 39 | pinctrl-names = "default"; |
| 40 | |
| 41 | gpioout: gpioout { |
| 42 | brcm,pins = <6>; |
| 43 | brcm,function = <BCM2835_FSEL_GPIO_OUT>; |
| 44 | }; |
| 45 | |
| 46 | alt0: alt0 { |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 47 | brcm,pins = <4 5 7 8 9 10 11>; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 48 | brcm,function = <BCM2835_FSEL_ALT0>; |
| 49 | }; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | &i2c0 { |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&i2c0_gpio0>; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 55 | status = "okay"; |
| 56 | clock-frequency = <100000>; |
| 57 | }; |
| 58 | |
| 59 | &i2c1 { |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&i2c1_gpio2>; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 62 | status = "okay"; |
| 63 | clock-frequency = <100000>; |
| 64 | }; |
| 65 | |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 66 | &usb { |
| 67 | power-domains = <&power RPI_POWER_DOMAIN_USB>; |
| 68 | }; |
| 69 | |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 70 | &vec { |
| 71 | power-domains = <&power RPI_POWER_DOMAIN_VEC>; |
| 72 | status = "okay"; |
| 73 | }; |
| 74 | |
| 75 | &dsi0 { |
| 76 | power-domains = <&power RPI_POWER_DOMAIN_DSI0>; |
| 77 | }; |
| 78 | |
| 79 | &dsi1 { |
| 80 | power-domains = <&power RPI_POWER_DOMAIN_DSI1>; |
| 81 | }; |