BCM270X_DT: Rename Pi Zero W DT files
authorPhil Elwell <phil@raspberrypi.org>
Tue, 28 May 2019 15:36:04 +0000 (16:36 +0100)
committerPhil Elwell <phil@raspberrypi.org>
Thu, 30 May 2019 08:55:54 +0000 (09:55 +0100)
The downtream Pi Zero W dts file uses the digit 0, whereas upstream
chose to spell it out - "zero-w". The firmware has, for a long time,
looked for bcm2708-rpi-zero-w.dtb first before falling back to the
numerical version. Therefore it is better to follow upstream and
make the switch to "bcm2708-rpi-zero-w".

At the same time, remove some overrides that duplicate values
inherited from the shared .dtsi files.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/bcm2708-rpi-zero-w.dts [moved from arch/arm/boot/dts/bcm2708-rpi-0-w.dts with 97% similarity]

index ffd515b..8ba7c56 100644 (file)
@@ -4,7 +4,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
        bcm2708-rpi-b.dtb \
        bcm2708-rpi-b-plus.dtb \
        bcm2708-rpi-cm.dtb \
-       bcm2708-rpi-0-w.dtb \
+       bcm2708-rpi-zero-w.dtb \
        bcm2709-rpi-2-b.dtb \
        bcm2710-rpi-3-b.dtb \
        bcm2710-rpi-3-b-plus.dtb \
similarity index 97%
rename from arch/arm/boot/dts/bcm2708-rpi-0-w.dts
rename to arch/arm/boot/dts/bcm2708-rpi-zero-w.dts
index 23ff3e4..087f391 100644 (file)
 };
 
 &i2s {
-       #sound-dai-cells = <0>;
        pinctrl-names = "default";
        pinctrl-0 = <&i2s_pins>;
 };
 
-&random {
-       status = "okay";
-};
-
 &leds {
        act_led: act {
                label = "led0";