Heinrich Schuchardt | 143256b | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | #include "bcm2837.dtsi" |
| 4 | #include "bcm2836-rpi.dtsi" |
| 5 | |
| 6 | / { |
| 7 | memory@0 { |
Simon Glass | 9ae600e | 2021-12-16 20:59:13 -0700 | [diff] [blame] | 8 | device_type = "memory"; |
Heinrich Schuchardt | 143256b | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 9 | reg = <0 0x40000000>; |
| 10 | }; |
| 11 | |
Simon Glass | 9ae600e | 2021-12-16 20:59:13 -0700 | [diff] [blame] | 12 | leds { |
| 13 | /* |
| 14 | * Since there is no upstream GPIO driver yet, |
| 15 | * remove the incomplete node. |
| 16 | */ |
| 17 | /delete-node/ led-act; |
| 18 | }; |
| 19 | |
Heinrich Schuchardt | 143256b | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 20 | reg_3v3: fixed-regulator { |
| 21 | compatible = "regulator-fixed"; |
| 22 | regulator-name = "3V3"; |
| 23 | regulator-min-microvolt = <3300000>; |
| 24 | regulator-max-microvolt = <3300000>; |
| 25 | regulator-always-on; |
| 26 | }; |
| 27 | |
| 28 | reg_1v8: fixed-regulator { |
| 29 | compatible = "regulator-fixed"; |
| 30 | regulator-name = "1V8"; |
| 31 | regulator-min-microvolt = <1800000>; |
| 32 | regulator-max-microvolt = <1800000>; |
| 33 | regulator-always-on; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | &firmware { |
| 38 | expgpio: gpio { |
| 39 | compatible = "raspberrypi,firmware-gpio"; |
| 40 | gpio-controller; |
| 41 | #gpio-cells = <2>; |
| 42 | gpio-line-names = "HDMI_HPD_N", |
| 43 | "EMMC_EN_N", |
| 44 | "NC", |
| 45 | "NC", |
| 46 | "NC", |
| 47 | "NC", |
| 48 | "NC", |
| 49 | "NC"; |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | &sdhost { |
| 55 | pinctrl-names = "default"; |
| 56 | pinctrl-0 = <&sdhost_gpio48>; |
| 57 | bus-width = <4>; |
| 58 | vmmc-supply = <®_3v3>; |
| 59 | vqmmc-supply = <®_1v8>; |
| 60 | status = "okay"; |
| 61 | }; |