Heinrich Schuchardt | be12fb9 | 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 { |
| 8 | reg = <0 0x40000000>; |
| 9 | }; |
| 10 | |
| 11 | reg_3v3: fixed-regulator { |
| 12 | compatible = "regulator-fixed"; |
| 13 | regulator-name = "3V3"; |
| 14 | regulator-min-microvolt = <3300000>; |
| 15 | regulator-max-microvolt = <3300000>; |
| 16 | regulator-always-on; |
| 17 | }; |
| 18 | |
| 19 | reg_1v8: fixed-regulator { |
| 20 | compatible = "regulator-fixed"; |
| 21 | regulator-name = "1V8"; |
| 22 | regulator-min-microvolt = <1800000>; |
| 23 | regulator-max-microvolt = <1800000>; |
| 24 | regulator-always-on; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | &firmware { |
| 29 | expgpio: gpio { |
| 30 | compatible = "raspberrypi,firmware-gpio"; |
| 31 | gpio-controller; |
| 32 | #gpio-cells = <2>; |
| 33 | gpio-line-names = "HDMI_HPD_N", |
| 34 | "EMMC_EN_N", |
| 35 | "NC", |
| 36 | "NC", |
| 37 | "NC", |
| 38 | "NC", |
| 39 | "NC", |
| 40 | "NC"; |
| 41 | status = "okay"; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | &sdhost { |
| 46 | pinctrl-names = "default"; |
| 47 | pinctrl-0 = <&sdhost_gpio48>; |
| 48 | bus-width = <4>; |
| 49 | vmmc-supply = <®_3v3>; |
| 50 | vqmmc-supply = <®_1v8>; |
| 51 | status = "okay"; |
| 52 | }; |