Skip to content
Snippets Groups Projects
Commit 4da722ca authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Remove "status" from examples


Pretty much any node can have a status property, so it doesn't need to
be in examples.

Converted with the following command and removed examples with SoC and
board specific splits:

git grep -l -E 'status.*=.*' Documentation/devicetree/ | xargs sed -i -E '/\sstatus.*=.*"(disabled|ok|okay)/d'

Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent d587b82d
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 24 deletions
...@@ -108,6 +108,5 @@ Example: ...@@ -108,6 +108,5 @@ Example:
frame-number = <1> frame-number = <1>
interrupts = <0 15 0x8>; interrupts = <0 15 0x8>;
reg = <0xf0003000 0x1000>; reg = <0xf0003000 0x1000>;
status = "disabled";
}; };
}; };
...@@ -183,7 +183,6 @@ cpm_syscon0: system-controller@440000 { ...@@ -183,7 +183,6 @@ cpm_syscon0: system-controller@440000 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-ranges = <&cpm_pinctrl 0 0 32>; gpio-ranges = <&cpm_pinctrl 0 0 32>;
status = "disabled";
}; };
}; };
...@@ -57,7 +57,6 @@ Example: ...@@ -57,7 +57,6 @@ Example:
<0x0 0x1f227000 0x0 0x1000>; <0x0 0x1f227000 0x0 0x1000>;
interrupts = <0x0 0x87 0x4>; interrupts = <0x0 0x87 0x4>;
dma-coherent; dma-coherent;
status = "ok";
clocks = <&sataclk 0>; clocks = <&sataclk 0>;
phys = <&phy2 0>; phys = <&phy2 0>;
phy-names = "sata-phy"; phy-names = "sata-phy";
...@@ -72,7 +71,6 @@ Example: ...@@ -72,7 +71,6 @@ Example:
<0x0 0x1f237000 0x0 0x1000>; <0x0 0x1f237000 0x0 0x1000>;
interrupts = <0x0 0x88 0x4>; interrupts = <0x0 0x88 0x4>;
dma-coherent; dma-coherent;
status = "ok";
clocks = <&sataclk 0>; clocks = <&sataclk 0>;
phys = <&phy3 0>; phys = <&phy3 0>;
phy-names = "sata-phy"; phy-names = "sata-phy";
......
...@@ -13,5 +13,4 @@ Example: ...@@ -13,5 +13,4 @@ Example:
reg = <0x83fe0000 0x4000>; reg = <0x83fe0000 0x4000>;
interrupts = <70>; interrupts = <70>;
clocks = <&clks 161>; clocks = <&clks 161>;
status = "disabled";
}; };
...@@ -227,7 +227,6 @@ See the example below, where a more complete device tree is shown: ...@@ -227,7 +227,6 @@ See the example below, where a more complete device tree is shown:
}; };
devbus-bootcs { devbus-bootcs {
status = "okay";
ranges = <0 MBUS_ID(0x01, 0x2f) 0 0x8000000>; ranges = <0 MBUS_ID(0x01, 0x2f) 0 0x8000000>;
/* NOR */ /* NOR */
...@@ -240,7 +239,6 @@ See the example below, where a more complete device tree is shown: ...@@ -240,7 +239,6 @@ See the example below, where a more complete device tree is shown:
pcie-controller { pcie-controller {
compatible = "marvell,armada-xp-pcie"; compatible = "marvell,armada-xp-pcie";
status = "okay";
device_type = "pci"; device_type = "pci";
#address-cells = <3>; #address-cells = <3>;
...@@ -258,7 +256,6 @@ See the example below, where a more complete device tree is shown: ...@@ -258,7 +256,6 @@ See the example below, where a more complete device tree is shown:
pcie@1,0 { pcie@1,0 {
/* Port 0, Lane 0 */ /* Port 0, Lane 0 */
status = "okay";
}; };
}; };
......
...@@ -84,7 +84,6 @@ gmi@70090000 { ...@@ -84,7 +84,6 @@ gmi@70090000 {
reset-names = "gmi"; reset-names = "gmi";
ranges = <4 0 0xd0000000 0xfffffff>; ranges = <4 0 0xd0000000 0xfffffff>;
status = "okay";
bus@4,0 { bus@4,0 {
compatible = "simple-bus"; compatible = "simple-bus";
...@@ -121,7 +120,6 @@ gmi@70090000 { ...@@ -121,7 +120,6 @@ gmi@70090000 {
reset-names = "gmi"; reset-names = "gmi";
ranges = <4 0 0xd0000000 0xfffffff>; ranges = <4 0 0xd0000000 0xfffffff>;
status = "okay";
can@4,0 { can@4,0 {
reg = <4 0 0x100>; reg = <4 0 0x100>;
......
...@@ -33,7 +33,6 @@ Example: ...@@ -33,7 +33,6 @@ Example:
#size-cells = <1>; #size-cells = <1>;
ranges = <0x702c0000 0x0 0x702c0000 0x00040000>; ranges = <0x702c0000 0x0 0x702c0000 0x00040000>;
status = "disabled";
child1 { child1 {
... ...
......
...@@ -102,7 +102,6 @@ uart4: serial@80010000 { ...@@ -102,7 +102,6 @@ uart4: serial@80010000 {
reg = <0x80010000 0x4000>; reg = <0x80010000 0x4000>;
clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>; clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>;
interrupts = <19>; interrupts = <19>;
status = "disabled";
}; };
Clock consumer with only one, _AHB_ sink. Clock consumer with only one, _AHB_ sink.
......
...@@ -41,5 +41,4 @@ Example: UART controller node that consumes the clock and reset generated ...@@ -41,5 +41,4 @@ Example: UART controller node that consumes the clock and reset generated
interrupts = <0 90 1>; interrupts = <0 90 1>;
clocks = <&clkc_AO CLKID_AO_UART1>; clocks = <&clkc_AO CLKID_AO_UART1>;
resets = <&clkc_AO RESET_AO_UART1>; resets = <&clkc_AO RESET_AO_UART1>;
status = "disabled";
}; };
...@@ -33,5 +33,4 @@ Example: UART controller node that consumes the clock generated by the clock ...@@ -33,5 +33,4 @@ Example: UART controller node that consumes the clock generated by the clock
reg = <0xc81004c0 0x14>; reg = <0xc81004c0 0x14>;
interrupts = <0 90 1>; interrupts = <0 90 1>;
clocks = <&clkc CLKID_CLK81>; clocks = <&clkc CLKID_CLK81>;
status = "disabled";
}; };
...@@ -39,5 +39,4 @@ Example: UART controller node that consumes the clock generated by the clock ...@@ -39,5 +39,4 @@ Example: UART controller node that consumes the clock generated by the clock
reg = <0xc81004c0 0x14>; reg = <0xc81004c0 0x14>;
interrupts = <0 90 1>; interrupts = <0 90 1>;
clocks = <&clkc CLKID_CLK81>; clocks = <&clkc CLKID_CLK81>;
status = "disabled";
}; };
...@@ -46,7 +46,6 @@ Device tree example: ...@@ -46,7 +46,6 @@ Device tree example:
uart@3e002000 { uart@3e002000 {
compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
status = "disabled";
reg = <0x3e002000 0x1000>; reg = <0x3e002000 0x1000>;
clocks = <&slave_ccu BCM281XX_SLAVE_CCU_UARTB3>; clocks = <&slave_ccu BCM281XX_SLAVE_CCU_UARTB3>;
interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -465,5 +465,4 @@ Example 3: UART controller node that consumes the clock generated by the clock ...@@ -465,5 +465,4 @@ Example 3: UART controller node that consumes the clock generated by the clock
clock-names = "uart", "clk_uart_baud0"; clock-names = "uart", "clk_uart_baud0";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart0_bus>; pinctrl-0 = <&uart0_bus>;
status = "disabled";
}; };
...@@ -38,5 +38,4 @@ Examples: ...@@ -38,5 +38,4 @@ Examples:
clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>, clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>,
<&crg_ctrl HI3660_PCLK>; <&crg_ctrl HI3660_PCLK>;
clock-names = "uartclk", "apb_pclk"; clock-names = "uartclk", "apb_pclk";
status = "disabled";
}; };
...@@ -27,5 +27,4 @@ Examples: ...@@ -27,5 +27,4 @@ Examples:
interrupts = <0 49 4>; interrupts = <0 49 4>;
clocks = <&clock HIX5HD2_FIXED_83M>; clocks = <&clock HIX5HD2_FIXED_83M>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
status = "disabled";
}; };
...@@ -24,5 +24,4 @@ Examples: ...@@ -24,5 +24,4 @@ Examples:
clocks = <&clks IMX21_CLK_UART1_IPG_GATE>, clocks = <&clks IMX21_CLK_UART1_IPG_GATE>,
<&clks IMX21_CLK_PER1>; <&clks IMX21_CLK_PER1>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
status = "disabled";
}; };
...@@ -67,5 +67,4 @@ auart0: serial@8006c000 { ...@@ -67,5 +67,4 @@ auart0: serial@8006c000 {
reg = <0x8006c000 0x2000>; reg = <0x8006c000 0x2000>;
interrupts = <24 25 23>; interrupts = <24 25 23>;
clocks = <&clks 32>; clocks = <&clks 32>;
status = "disabled";
}; };
...@@ -157,5 +157,4 @@ uart1: serial@43f90000 { ...@@ -157,5 +157,4 @@ uart1: serial@43f90000 {
interrupts = <45>; interrupts = <45>;
clocks = <&clks 79>, <&clks 50>; clocks = <&clks 79>, <&clks 50>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
status = "disabled";
}; };
...@@ -24,5 +24,4 @@ Examples: ...@@ -24,5 +24,4 @@ Examples:
clocks = <&clks IMX27_CLK_UART1_IPG_GATE>, clocks = <&clks IMX27_CLK_UART1_IPG_GATE>,
<&clks IMX27_CLK_PER1_GATE>; <&clks IMX27_CLK_PER1_GATE>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
status = "disabled";
}; };
...@@ -90,5 +90,4 @@ auart0: serial@8006a000 { ...@@ -90,5 +90,4 @@ auart0: serial@8006a000 {
reg = <0x8006a000 0x2000>; reg = <0x8006a000 0x2000>;
interrupts = <112 70 71>; interrupts = <112 70 71>;
clocks = <&clks 45>; clocks = <&clks 45>;
status = "disabled";
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment