Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt/bindings: remove device_type "network" references

device_type is deprecated and the kernel doesn't require it in most
cases. The only exceptions for flat tree users are the "gianfar",
"ucc_geth" and "ibm,emac" bindings, and arguably that requirement could
be relaxed for ucc_geth and ibm,emac (that is a task for separate
patches though).

This patch removes references to device_type="network" from the binding
documentation where possible and removes the properties from ARM and
microblaze dts files. This patch does not modify the powerpc .dts files
since there are a much larger number of them affected and I think the
ucc_geth, ibm,emac and gianfar users should be addressed before clearing
out the references to reduce the chance of breakage.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Michal Simek <monstr@monstr.eu>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>

-10
-2
Documentation/devicetree/bindings/marvell.txt
··· 130 130 Ethernet port node 131 131 132 132 Required properties: 133 - - device_type : Should be "network". 134 133 - compatible : Should be "marvell,mv64360-eth". 135 134 - reg : Should be <0>, <1>, or <2>, according to which registers 136 135 within the silicon block the device uses. ··· 142 143 143 144 Example Discovery Ethernet port node: 144 145 ethernet@0 { 145 - device_type = "network"; 146 146 compatible = "marvell,mv64360-eth"; 147 147 reg = <0>; 148 148 interrupts = <32>;
-2
Documentation/devicetree/bindings/net/marvell-orion-net.txt
··· 32 32 * Ethernet port node 33 33 34 34 Required port properties: 35 - - device_type: shall be "network". 36 35 - compatible: shall be one of "marvell,orion-eth-port", 37 36 "marvell,kirkwood-eth-port". 38 37 - reg: port number relative to ethernet controller, shall be 0, 1, or 2. ··· 73 74 marvell,tx-checksum-limit = <1600>; 74 75 75 76 ethernet@0 { 76 - device_type = "network"; 77 77 compatible = "marvell,orion-eth-port"; 78 78 reg = <0>; 79 79 interrupts = <29>;
-1
Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/network.txt
··· 10 10 Example: 11 11 12 12 ethernet@11300 { 13 - device_type = "network"; 14 13 compatible = "fsl,mpc8272-fcc-enet", 15 14 "fsl,cpm2-fcc-enet"; 16 15 reg = <11300 20 8400 100 11390 1>;
-1
arch/arm/boot/dts/dove.dtsi
··· 573 573 status = "disabled"; 574 574 575 575 ethernet-port@0 { 576 - device_type = "network"; 577 576 compatible = "marvell,orion-eth-port"; 578 577 reg = <0>; 579 578 interrupts = <29>;
-2
arch/arm/boot/dts/kirkwood.dtsi
··· 253 253 status = "disabled"; 254 254 255 255 ethernet0-port@0 { 256 - device_type = "network"; 257 256 compatible = "marvell,kirkwood-eth-port"; 258 257 reg = <0>; 259 258 interrupts = <11>; ··· 272 273 status = "disabled"; 273 274 274 275 ethernet1-port@0 { 275 - device_type = "network"; 276 276 compatible = "marvell,kirkwood-eth-port"; 277 277 reg = <0>; 278 278 interrupts = <15>;
-1
arch/arm/boot/dts/orion5x.dtsi
··· 154 154 status = "disabled"; 155 155 156 156 ethernet-port@0 { 157 - device_type = "network"; 158 157 compatible = "marvell,orion-eth-port"; 159 158 reg = <0>; 160 159 /* overwrite MAC address in bootloader */
-1
arch/microblaze/platform/generic/system.dts
··· 222 222 ranges ; 223 223 ethernet@81c00000 { 224 224 compatible = "xlnx,xps-ll-temac-1.01.b", "xlnx,xps-ll-temac-1.00.a"; 225 - device_type = "network"; 226 225 interrupt-parent = <&xps_intc_0>; 227 226 interrupts = < 5 2 >; 228 227 llink-connected = <&PIM3>;