1/* 2 * Copyright (c) 2024 TOKITA Hiroshi 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 test { 8 #address-cells = <1>; 9 #size-cells = <1>; 10 11 test_gpio: gpio@deadbeef { 12 compatible = "vnd,gpio"; 13 gpio-controller; 14 reg = <0xdeadbeef 0x1000>; 15 #gpio-cells = <0x2>; 16 status = "okay"; 17 }; 18 19 test_ethernet: ethernet { 20 compatible = "vnd,ethernet"; 21 22 test_mdio: mdio { 23 compatible = "zephyr,mdio-gpio"; 24 mdc-gpios = <&test_gpio 0 0>; 25 mdio-gpios = <&test_gpio 0 0>; 26 27 #address-cells = <1>; 28 #size-cells = <0>; 29 30 ethernet-phy@0 { 31 reg = <0x0>; 32 compatible = "realtek,rtl8211f"; 33 status = "okay"; 34 }; 35 36 ethernet-phy@1 { 37 reg = <0x1>; 38 compatible = "nxp,tja1103"; 39 status = "okay"; 40 int-gpios = <&test_gpio 0 0>; 41 master-slave = "slave"; 42 }; 43 44 ethernet-phy@2 { 45 reg = <0x2>; 46 compatible = "microchip,ksz8081"; 47 status = "okay"; 48 reset-gpios = <&test_gpio 0 0>; 49 int-gpios = <&test_gpio 0 0>; 50 microchip,interface-type = "rmii"; 51 }; 52 53 ethernet-phy@3 { 54 reg = <0x3>; 55 compatible = "microchip,ksz8794"; 56 status = "okay"; 57 reset-gpios = <&test_gpio 0 0>; 58 int-gpios = <&test_gpio 0 0>; 59 microchip,interface-type = "rmii"; 60 }; 61 62 ethernet-phy@4 { 63 reg = <0x4>; 64 compatible = "microchip,ksz8863"; 65 status = "okay"; 66 reset-gpios = <&test_gpio 0 0>; 67 int-gpios = <&test_gpio 0 0>; 68 microchip,interface-type = "rmii"; 69 }; 70 71 ethernet-phy@5 { 72 reg = <0x5>; 73 compatible = "adi,adin1100-phy"; 74 status = "okay"; 75 }; 76 77 ethernet-phy@6 { 78 reg = <0x6>; 79 compatible = "adi,adin2111-phy"; 80 status = "okay"; 81 }; 82 ethernet-phy@7 { 83 reg = <0x7>; 84 compatible = "davicom,dm8806-phy"; 85 status = "okay"; 86 reg-switch = <8>; 87 reset-gpios = <&test_gpio 0 0>; 88 int-gpios = <&test_gpio 0 0>; 89 davicom,interface-type = "rmii"; 90 }; 91 92 ethernet-phy@8 { 93 reg = <0x8>; 94 compatible = "ti,dp83867"; 95 status = "okay"; 96 reset-gpios = <&test_gpio 0 0>; 97 int-gpios = <&test_gpio 0 0>; 98 }; 99 }; 100 }; 101 }; 102}; 103