[PATCH 6/6] ARM: dts: bcm28155-ap: use node labels
Stanislav Jakubek
stano.jakubek at gmail.com
Fri May 26 12:30:50 PDT 2023
Use node labels instead of nodename at address for BCM28155 AP board
to simplify its DTS file.
Signed-off-by: Stanislav Jakubek <stano.jakubek at gmail.com>
---
I was not sure what to do about the &pmu node here, so I left it as is.
arch/arm/boot/dts/bcm28155-ap.dts | 110 +++++++++++++++---------------
1 file changed, 55 insertions(+), 55 deletions(-)
diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts
index 0a8ad1d673d8..08eea8b941b6 100644
--- a/arch/arm/boot/dts/bcm28155-ap.dts
+++ b/arch/arm/boot/dts/bcm28155-ap.dts
@@ -15,64 +15,21 @@ memory at 80000000 {
device_type = "memory";
reg = <0x80000000 0x40000000>; /* 1 GB */
};
+};
- serial at 3e000000 {
- status = "okay";
- };
-
- i2c at 3e016000 {
- clock-frequency = <400000>;
- status = "okay";
- };
-
- i2c at 3e017000 {
- clock-frequency = <400000>;
- status = "okay";
- };
-
- i2c at 3e018000 {
- clock-frequency = <400000>;
- status = "okay";
- };
-
- i2c at 3500d000 {
- clock-frequency = <100000>;
- status = "okay";
-
- pmu: pmu at 8 {
- reg = <0x08>;
- };
- };
-
- sdio2: mmc at 3f190000 {
- non-removable;
- max-frequency = <48000000>;
- vmmc-supply = <&camldo1_reg>;
- vqmmc-supply = <&iosr1_reg>;
- status = "okay";
- };
-
- sdio4: mmc at 3f1b0000 {
- max-frequency = <48000000>;
- cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- vmmc-supply = <&sdldo_reg>;
- vqmmc-supply = <&sdxldo_reg>;
- status = "okay";
- };
-
- pwm: pwm at 3e01a000 {
- status = "okay";
- };
+&bsc1 {
+ clock-frequency = <400000>;
+ status = "okay";
+};
- usbotg: usb at 3f120000 {
- vusb_d-supply = <&usbldo_reg>;
- vusb_a-supply = <&iosr1_reg>;
- status = "okay";
- };
+&bsc2 {
+ clock-frequency = <400000>;
+ status = "okay";
+};
- usbphy: usb-phy at 3f130000 {
- status = "okay";
- };
+&bsc3 {
+ clock-frequency = <400000>;
+ status = "okay";
};
#include "bcm59056.dtsi"
@@ -110,3 +67,46 @@ iosr1_reg: iosr1 {
};
};
};
+
+&pmu_bsc {
+ clock-frequency = <100000>;
+ status = "okay";
+
+ pmu: pmu at 8 {
+ reg = <0x08>;
+ };
+};
+
+&pwm {
+ status = "okay";
+};
+
+&sdio2 {
+ non-removable;
+ max-frequency = <48000000>;
+ vmmc-supply = <&camldo1_reg>;
+ vqmmc-supply = <&iosr1_reg>;
+ status = "okay";
+};
+
+&sdio4 {
+ max-frequency = <48000000>;
+ cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+ vmmc-supply = <&sdldo_reg>;
+ vqmmc-supply = <&sdxldo_reg>;
+ status = "okay";
+};
+
+&uartb {
+ status = "okay";
+};
+
+&usbotg {
+ vusb_d-supply = <&usbldo_reg>;
+ vusb_a-supply = <&iosr1_reg>;
+ status = "okay";
+};
+
+&usbphy {
+ status = "okay";
+};
--
2.25.1
More information about the linux-arm-kernel
mailing list