Commit dfa84bb9 authored by Florian Fainelli's avatar Florian Fainelli
Browse files

ARM: dts: BCM5301X: Fix most DTC W=1 warnings



Fix the bulk of the unit_address_vs_reg warnings and unnecessary
\#address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 875e2f5f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
		bootargs = "console=ttyS0,115200";
	};

	memory {
	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x08000000
		       0x88000000 0x08000000>;
@@ -69,8 +69,6 @@

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		rfkill {
			label = "WiFi";
+1 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
		bootargs = "console=ttyS0,115200";
	};

	memory {
	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x08000000
		       0x88000000 0x08000000>;
@@ -53,8 +53,6 @@

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		brightness {
			label = "Backlight";
+1 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
		bootargs = "console=ttyS0,115200 earlycon";
	};

	memory {
	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x08000000
		       0x88000000 0x18000000>;
@@ -99,8 +99,6 @@

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		restart {
			label = "Reset";
+1 −3
Original line number Diff line number Diff line
@@ -16,15 +16,13 @@
		bootargs = "console=ttyS0,115200";
	};

	memory {
	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x08000000>;
	};

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		wps {
			label = "WPS";
+1 −3
Original line number Diff line number Diff line
@@ -17,15 +17,13 @@
		bootargs = "console=ttyS0,115200";
	};

	memory {
	memory@0 {
		device_type = "memory";
		reg = <0x00000000 0x08000000>;
	};

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		wps {
			label = "WPS";
Loading