forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/bcm2835-rpi-zero.dts
....@@ -1,12 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * Copyright (C) 2016 Stefan Wahren <stefan.wahren@i2se.com>
3
- *
4
- * The code contained herein is licensed under the GNU General Public
5
- * License. You may obtain a copy of the GNU General Public License
6
- * Version 2 or later at the following locations:
7
- *
8
- * http://www.opensource.org/licenses/gpl-license.html
9
- * http://www.gnu.org/copyleft/gpl.html
104 */
115
126 /dts-v1/;
....@@ -18,8 +12,13 @@
1812 compatible = "raspberrypi,model-zero", "brcm,bcm2835";
1913 model = "Raspberry Pi Zero";
2014
15
+ memory@0 {
16
+ device_type = "memory";
17
+ reg = <0 0x20000000>;
18
+ };
19
+
2120 leds {
22
- act {
21
+ led-act {
2322 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
2423 };
2524 };
....@@ -34,8 +33,8 @@
3433 * "FOO" = GPIO line named "FOO" on the schematic
3534 * "FOO_N" = GPIO line named "FOO" on schematic, active low
3635 */
37
- gpio-line-names = "SDA0",
38
- "SCL0",
36
+ gpio-line-names = "ID_SDA",
37
+ "ID_SCL",
3938 "SDA1",
4039 "SCL1",
4140 "GPIO_GCLK",
....@@ -102,6 +101,15 @@
102101
103102 &hdmi {
104103 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
104
+ power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
105
+ status = "okay";
106
+};
107
+
108
+&sdhost {
109
+ pinctrl-names = "default";
110
+ pinctrl-0 = <&sdhost_gpio48>;
111
+ bus-width = <4>;
112
+ status = "okay";
105113 };
106114
107115 &uart0 {