Skip to content

Commit 7ea0e22

Browse files
committed
dt: hack: temporary revert some files back to 6.9 due to duplicate symbols
1 parent e6b990b commit 7ea0e22

File tree

5 files changed

+8
-103
lines changed

5 files changed

+8
-103
lines changed

arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
#define BCM2711
44
#define i2c0 i2c0if
55
#include "bcm2711.dtsi"
6-
#include "bcm2711-rpi.dtsi"
7-
#include "bcm283x-rpi-led-deprecated.dtsi"
8-
//#include "bcm283x-rpi-usb-peripheral.dtsi"
96
#include "bcm283x-rpi-wifi-bt.dtsi"
10-
#include <dt-bindings/leds/common.h>
117
#undef i2c0
128
#include "bcm270x.dtsi"
139
#define i2c0 i2c0mux
10+
#include "bcm2711-rpi.dtsi"
1411
#undef i2c0
12+
#include "bcm283x-rpi-led-deprecated.dtsi"
13+
//#include "bcm283x-rpi-usb-peripheral.dtsi"
1514

1615
/ {
1716
compatible = "raspberrypi,4-model-b", "brcm,bcm2711";
@@ -22,13 +21,6 @@
2221
stdout-path = "serial1:115200n8";
2322
};
2423

25-
cam1_reg: regulator-cam1 {
26-
compatible = "regulator-fixed";
27-
regulator-name = "cam1-reg";
28-
enable-active-high;
29-
gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>;
30-
};
31-
3224
sd_io_1v8_reg: regulator-sd-io-1v8 {
3325
compatible = "regulator-gpio";
3426
regulator-name = "vdd-sd-io";
@@ -211,27 +203,6 @@
211203
phy1: ethernet-phy@1 {
212204
/* No PHY interrupt */
213205
reg = <0x1>;
214-
215-
leds {
216-
#address-cells = <1>;
217-
#size-cells = <0>;
218-
219-
/* LED1 */
220-
led@0 {
221-
reg = <0>;
222-
color = <LED_COLOR_ID_GREEN>;
223-
function = LED_FUNCTION_LAN;
224-
default-state = "keep";
225-
};
226-
227-
/* LED2 */
228-
led@1 {
229-
reg = <1>;
230-
color = <LED_COLOR_ID_AMBER>;
231-
function = LED_FUNCTION_LAN;
232-
default-state = "keep";
233-
};
234-
};
235206
};
236207
};
237208

arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
&genet_mdio {
3232
clock-frequency = <1950000>;
33-
/delete-node/ leds;
3433
};
3534

3635
&led_pwr {

arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/dts-v1/;
3-
#include <dt-bindings/leds/common.h>
43
#include "bcm2711-rpi-cm4.dtsi"
54
#include "bcm283x-rpi-led-deprecated.dtsi"
65
#include "bcm283x-rpi-usb-host.dtsi"
@@ -102,38 +101,6 @@
102101
status = "okay";
103102
};
104103

105-
&i2c0_1 {
106-
rtc@51 {
107-
/* Attention: An alarm resets the machine */
108-
compatible = "nxp,pcf85063a";
109-
reg = <0x51>;
110-
quartz-load-femtofarads = <7000>;
111-
};
112-
};
113-
114-
&phy1 {
115-
leds {
116-
#address-cells = <1>;
117-
#size-cells = <0>;
118-
119-
/* LED2 */
120-
led@1 {
121-
reg = <1>;
122-
color = <LED_COLOR_ID_GREEN>;
123-
function = LED_FUNCTION_LAN;
124-
default-state = "keep";
125-
};
126-
127-
/* LED3 */
128-
led@2 {
129-
reg = <2>;
130-
color = <LED_COLOR_ID_AMBER>;
131-
function = LED_FUNCTION_LAN;
132-
default-state = "keep";
133-
};
134-
};
135-
};
136-
137104
&led_act {
138105
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
139106
};

arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,14 @@
1717
blconfig = &blconfig;
1818
blpubkey = &blpubkey;
1919
};
20-
21-
i2c0mux: i2c-mux0 {
22-
compatible = "i2c-mux-pinctrl";
23-
#address-cells = <1>;
24-
#size-cells = <0>;
25-
26-
i2c-parent = <&i2c0>;
27-
28-
pinctrl-names = "i2c0", "i2c0-vc";
29-
pinctrl-0 = <&i2c0_gpio0>;
30-
pinctrl-1 = <&i2c0_gpio44>;
31-
32-
i2c0_0: i2c@0 {
33-
reg = <0>;
34-
#address-cells = <1>;
35-
#size-cells = <0>;
36-
};
37-
38-
i2c0_1: i2c@1 {
39-
reg = <1>;
40-
#address-cells = <1>;
41-
#size-cells = <0>;
42-
};
43-
};
4420
};
4521

4622
&firmware {
23+
firmware_clocks: clocks {
24+
compatible = "raspberrypi,firmware-clocks";
25+
#clock-cells = <1>;
26+
};
27+
4728
expgpio: gpio {
4829
compatible = "raspberrypi,firmware-gpio";
4930
gpio-controller;
@@ -73,11 +54,6 @@
7354
clocks = <&firmware_clocks 4>;
7455
};
7556

76-
&i2c0 {
77-
/delete-property/ pinctrl-names;
78-
/delete-property/ pinctrl-0;
79-
};
80-
8157
&rmem {
8258
/*
8359
* RPi4's co-processor will copy the board's bootloader configuration

arch/arm/boot/dts/broadcom/bcm2711.dtsi

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,14 +1100,6 @@
11001100
#address-cells = <2>;
11011101
};
11021102

1103-
&csi0 {
1104-
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1105-
};
1106-
1107-
&csi1 {
1108-
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
1109-
};
1110-
11111103
&cma {
11121104
/*
11131105
* arm64 reserves the CMA by default somewhere in ZONE_DMA32,

0 commit comments

Comments
 (0)