/external/u-boot/drivers/net/ti/ |
D | cpsw_mdio.c | 64 static int cpsw_mdio_wait_for_user_access(struct cpsw_mdio *mdio) in cpsw_mdio_wait_for_user_access() argument 66 return wait_for_bit_le32(&mdio->regs->user[0].access, in cpsw_mdio_wait_for_user_access() 74 struct cpsw_mdio *mdio = bus->priv; in cpsw_mdio_read() local 81 ret = cpsw_mdio_wait_for_user_access(mdio); in cpsw_mdio_read() 87 writel(reg, &mdio->regs->user[0].access); in cpsw_mdio_read() 88 ret = cpsw_mdio_wait_for_user_access(mdio); in cpsw_mdio_read() 92 reg = readl(&mdio->regs->user[0].access); in cpsw_mdio_read() 100 struct cpsw_mdio *mdio = bus->priv; in cpsw_mdio_write() local 107 ret = cpsw_mdio_wait_for_user_access(mdio); in cpsw_mdio_write() 114 writel(reg, &mdio->regs->user[0].access); in cpsw_mdio_write() [all …]
|
/external/u-boot/doc/device-tree-bindings/net/ |
D | mdio-mux-reg.txt | 3 mdio-mux-i2creg driver in U-Boot. 13 Properties described in mdio-mux.txt also apply. 27 mux-mdio@54 { 30 compatible = "mdio-mux-i2creg"; 34 mdio-parent-bus = <&mdio0>; 37 mdio@00 { 48 mdio@40 { 58 mdio@50 { 64 mdio@60 { 70 mdio@70 {
|
D | allwinner,sun4i-mdio.txt | 4 - compatible: should be "allwinner,sun4i-a10-mdio" 5 (Deprecated: "allwinner,sun4i-mdio"). 12 mdio@01c0b080 { 13 compatible = "allwinner,sun4i-a10-mdio"; 21 mdio@01c0b080 {
|
D | mdio-mux.txt | 3 One notable difference to Linux is that mdio-parent-bus is currently required 12 mdio-parent-bus = a phandle to the MDIO bus used to perform actual I/O. This is 31 smi1: mdio@1180000001900 { 32 compatible = "cavium,octeon-3860-mdio"; 42 mdio-mux { 43 compatible = "mdio-mux-gpio"; 45 mdio-parent-bus = <&smi1>; 48 mdio@2 { 93 mdio@3 {
|
D | fsl-tsec-phy.txt | 31 mdio. Currently supported string/device is "fsl,etsec2-mdio". 36 mdio@24520 { 37 compatible = "fsl,etsec2-mdio"; 49 similarly to the mdio buses. The TBI PHYs underneath them are similar to 60 mdio@24520 {
|
D | altera_tse.txt | 33 - mdio device tree subnode: When the TSE has a phy connected to its local 34 mdio, there must be device tree subnode with the following 37 - compatible: Must be "altr,tse-mdio". 41 For each phy on the mdio bus, there must be a node with the following 74 mdio { 75 compatible = "altr,tse-mdio";
|
D | marvell-mdio.txt | 11 - compatible: Should be "marvell,orion-mdio" (for SMI) 15 Please refer to "mdio.txt" for generic MDIO bus bindings.
|
/external/u-boot/arch/arm/dts/ |
D | fsl-ls1028a-qds.dts | 49 mux-mdio@54 { 52 compatible = "mdio-mux-i2creg"; 56 mdio-parent-bus = <&mdio0>; 59 mdio@00 { 69 slot1: mdio@40 { 75 slot2: mdio@50 { 81 slot3: mdio@60 { 87 slot4: mdio@70 {
|
D | ls1021a-qds.dtsi | 140 mdio-mux-emi1 { 141 compatible = "mdio-mux-mmioreg"; 142 mdio-parent-bus = <&mdio0>; 149 ls1021amdio0: mdio@0 { 158 ls1021amdio1: mdio@20 { 167 ls1021amdio2: mdio@40 { 176 ls1021amdio3: mdio@60 { 185 ls1021amdio4: mdio@80 {
|
D | armada-38x-controlcenterdc.dts | 48 mdio-gpio0 = &MDIO0; 49 mdio-gpio1 = &MDIO1; 50 mdio-gpio2 = &MDIO2; 219 mdio@72004 { 259 compatible = "virtual,mdio-gpio"; 363 compatible = "virtual,mdio-gpio"; 467 compatible = "virtual,mdio-gpio";
|
D | am335x-draco.dts | 24 mdio-gpio0 = &mdio0; 122 compatible = "virtual,mdio-gpio"; 137 /* Disable davinci/am335x mdio interface on this platform */
|
D | kirkwood-atl-sbx81lifkw.dts | 33 dsa,mii-bus = <&mdio>; 114 &mdio {
|
D | meson-gxbb-p200.dts | 75 mdio { 76 compatible = "snps,dwmac-mdio";
|
D | kirkwood-atl-sbx81lifxcat.dts | 33 dsa,mii-bus = <&mdio>; 134 &mdio {
|
D | meson-gxl.dtsi | 91 mdio0: mdio { 94 compatible = "snps,dwmac-mdio"; 687 compatible = "mdio-mux-mmioreg", "mdio-mux"; 692 mdio-parent-bus = <&mdio0>; 694 internal_mdio: mdio@e40908ff { 707 external_mdio: mdio@2009087f {
|
D | keystone-k2l.dtsi | 82 mdio: mdio@26200f00 { label
|
D | sunxi-h3-h5.dtsi | 511 mdio: mdio { label 514 compatible = "snps,dwmac-mdio"; 517 mdio-mux { 518 compatible = "allwinner,sun8i-h3-mdio-mux"; 522 mdio-parent-bus = <&mdio>; 524 internal_mdio: mdio@1 { 525 compatible = "allwinner,sun8i-h3-mdio-internal"; 538 external_mdio: mdio@2 {
|
D | keystone-k2hk.dtsi | 102 mdio: mdio@02090300 { label
|
/external/u-boot/test/dm/ |
D | mdio_mux.c | 24 struct udevice *mdio_ch0, *mdio_ch1, *mdio; in dm_test_mdio_mux() local 39 ut_assertok(uclass_get_device_by_name(UCLASS_MDIO, "mdio-test", &mdio)); in dm_test_mdio_mux() 50 ops_parent = mdio_get_ops(mdio); in dm_test_mdio_mux() 68 reg = ops_parent->read(mdio, SANDBOX_PHY_ADDR, MDIO_DEVAD_NONE, in dm_test_mdio_mux() 73 reg = ops_parent->read(mdio, SANDBOX_PHY_ADDR, MDIO_DEVAD_NONE, in dm_test_mdio_mux()
|
/external/u-boot/drivers/net/ |
D | mdio_mux_sandbox.c | 22 struct udevice *mdio; in mdio_mux_sandbox_mark_selection() local 30 err = uclass_get_device_by_name(UCLASS_MDIO, "mdio-test", &mdio); in mdio_mux_sandbox_mark_selection() 33 ops = mdio_get_ops(mdio); in mdio_mux_sandbox_mark_selection() 34 return ops->write(mdio, SANDBOX_PHY_ADDR, MDIO_DEVAD_NONE, in mdio_mux_sandbox_mark_selection()
|
/external/u-boot/board/gdsys/common/ |
D | ihs_mdio.c | 55 FPGA_GET_REG(info->fpga, mdio.control, &val); in read_control() 65 FPGA_SET_REG(info->fpga, mdio.control, val); in write_control() 74 FPGA_SET_REG(info->fpga, mdio.address_data, val); in write_addr_data() 84 FPGA_GET_REG(info->fpga, mdio.rx_data, &val); in read_rx_data()
|
/external/u-boot/arch/sandbox/dts/ |
D | test.dts | 869 * keep mdio-mux ahead of mdio so that the mux is removed first at the 870 * end of the test. If parent mdio is removed first, clean-up of the 871 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio 872 * active at the end of the test. That it turn doesn't allow the mdio 875 mdio-mux-test { 876 compatible = "sandbox,mdio-mux"; 879 mdio-parent-bus = <&mdio>; 881 mdio-ch-test@0 { 884 mdio-ch-test@1 { 889 mdio: mdio-test { label [all …]
|
/external/u-boot/net/ |
D | Makefile | 18 obj-$(CONFIG_DM_MDIO) += mdio-uclass.o 19 obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o
|
/external/u-boot/arch/mips/dts/ |
D | nexys4ddr.dts | 33 xlnx,include-mdio = <0x1>; 39 mdio {
|
D | ar934x.dtsi | 74 mdio { 91 mdio {
|