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

dt-bindings: net: tja11xx: add nxp,refclk_in property

TJA110x REF_CLK can be configured as interface reference clock
intput or output when the RMII mode enabled. This patch add the
property to make the REF_CLK can be configurable.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Wei Fang and committed by
Jakub Kicinski
52b2fe45 3de1484b

+17
+17
Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
··· 31 31 description: 32 32 The ID number for the child PHY. Should be +1 of parent PHY. 33 33 34 + nxp,rmii-refclk-in: 35 + type: boolean 36 + description: | 37 + The REF_CLK is provided for both transmitted and received data 38 + in RMII mode. This clock signal is provided by the PHY and is 39 + typically derived from an external 25MHz crystal. Alternatively, 40 + a 50MHz clock signal generated by an external oscillator can be 41 + connected to pin REF_CLK. A third option is to connect a 25MHz 42 + clock to pin CLK_IN_OUT. So, the REF_CLK should be configured 43 + as input or output according to the actual circuit connection. 44 + If present, indicates that the REF_CLK will be configured as 45 + interface reference clock input when RMII mode enabled. 46 + If not present, the REF_CLK will be configured as interface 47 + reference clock output when RMII mode enabled. 48 + Only supported on TJA1100 and TJA1101. 49 + 34 50 required: 35 51 - reg 36 52 ··· 60 44 61 45 tja1101_phy0: ethernet-phy@4 { 62 46 reg = <0x4>; 47 + nxp,rmii-refclk-in; 63 48 }; 64 49 }; 65 50 - |