Home
last modified time | relevance | path

Searched +full:cpm2 +full:- +full:mdio +full:- +full:bitbang (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/devicetree/bindings/net/
H A Dfsl,cpm-mdio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/fsl,cpm-mdio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale CPM MDIO Device
10 - Frank Li <Frank.Li@nxp.com>
15 - enum:
16 - fsl,pq1-fec-mdio
17 - fsl,cpm2-mdio-bitbang
18 - items:
[all …]
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/mdio-bitbang.h>
57 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_dir() local
60 bb_set(bitbang->dir, bitbang->mdio_msk); in mdio_dir()
62 bb_clr(bitbang->dir, bitbang->mdio_msk); in mdio_dir()
65 in_be32(bitbang->dir); in mdio_dir()
70 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_read() local
71 return bb_read(bitbang->dat, bitbang->mdio_msk); in mdio_read()
74 static inline void mdio(struct mdiobb_ctrl *ctrl, int what) in mdio() function
76 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio() local
[all …]
/linux/arch/powerpc/boot/dts/
H A Dmgcoge.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
13 #address-cells = <1>;
14 #size-cells = <1>;
22 #address-cells = <1>;
23 #size-cells = <0>;
28 d-cache-line-size = <32>;
29 i-cache-line-size = <32>;
30 d-cache-size = <16384>;
31 i-cache-size = <16384>;
[all …]
H A Dep8248e.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
12 #address-cells = <1>;
13 #size-cells = <1>;
16 planetcore-SMC1 = &smc1;
17 planetcore-SCC1 = &scc1;
25 #address-cells = <1>;
26 #size-cells = <0>;
31 d-cache-line-size = <32>;
32 i-cache-line-size = <32>;
[all …]
H A Dksi8560.dts15 /dts-v1/;
22 #address-cells = <1>;
23 #size-cells = <1>;
32 #address-cells = <1>;
33 #size-cells = <0>;
38 d-cache-line-size = <32>;
39 i-cache-line-size = <32>;
40 d-cache-size = <0x8000>; /* L1, 32K */
41 i-cache-size = <0x8000>; /* L1, 32K */
42 timebase-frequency = <0>; /* From U-boot */
[all …]
/linux/drivers/net/mdio/
H A Dmdio-bitbang.c1 // SPDX-License-Identifier: GPL-2.0
3 * Bitbanged MDIO support.
8 * Based on CPM2 MDIO code which is:
18 #include <linux/mdio-bitbang.h>
43 /* MDIO must already be configured as output. */
46 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_send_bit()
48 ops->set_mdio_data(ctrl, val); in mdiobb_send_bit()
50 ops->set_mdc(ctrl, 1); in mdiobb_send_bit()
52 ops->set_mdc(ctrl, 0); in mdiobb_send_bit()
55 /* MDIO must already be configured as input. */
[all …]