mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 07:43:57 -04:00
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>
44 lines
998 B
Plaintext
44 lines
998 B
Plaintext
* Network
|
|
|
|
Currently defined compatibles:
|
|
- fsl,cpm1-scc-enet
|
|
- fsl,cpm2-scc-enet
|
|
- fsl,cpm1-fec-enet
|
|
- fsl,cpm2-fcc-enet (third resource is GFEMR)
|
|
- fsl,qe-enet
|
|
|
|
Example:
|
|
|
|
ethernet@11300 {
|
|
compatible = "fsl,mpc8272-fcc-enet",
|
|
"fsl,cpm2-fcc-enet";
|
|
reg = <11300 20 8400 100 11390 1>;
|
|
local-mac-address = [ 00 00 00 00 00 00 ];
|
|
interrupts = <20 8>;
|
|
interrupt-parent = <&PIC>;
|
|
phy-handle = <&PHY0>;
|
|
fsl,cpm-command = <12000300>;
|
|
};
|
|
|
|
* MDIO
|
|
|
|
Currently defined compatibles:
|
|
fsl,pq1-fec-mdio (reg is same as first resource of FEC device)
|
|
fsl,cpm2-mdio-bitbang (reg is port C registers)
|
|
|
|
Properties for fsl,cpm2-mdio-bitbang:
|
|
fsl,mdio-pin : pin of port C controlling mdio data
|
|
fsl,mdc-pin : pin of port C controlling mdio clock
|
|
|
|
Example:
|
|
mdio@10d40 {
|
|
compatible = "fsl,mpc8272ads-mdio-bitbang",
|
|
"fsl,mpc8272-mdio-bitbang",
|
|
"fsl,cpm2-mdio-bitbang";
|
|
reg = <10d40 14>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
fsl,mdio-pin = <12>;
|
|
fsl,mdc-pin = <13>;
|
|
};
|