blob: c766cb184bf9231050b4f314245e885f34fb811a [file] [log] [blame]
/*
* Copyright (c) 2024 TOKITA Hiroshi
* SPDX-License-Identifier: Apache-2.0
*/
/ {
test {
#address-cells = <1>;
#size-cells = <1>;
test_gpio: gpio@deadbeef {
compatible = "vnd,gpio";
gpio-controller;
reg = <0xdeadbeef 0x1000>;
#gpio-cells = <0x2>;
status = "okay";
};
test_ethernet: ethernet {
compatible = "vnd,ethernet";
test_mdio: mdio {
compatible = "zephyr,mdio-gpio";
mdc-gpios = <&test_gpio 0 0>;
mdio-gpios = <&test_gpio 0 0>;
#address-cells = <1>;
#size-cells = <0>;
ethernet-phy@0 {
reg = <0x0>;
compatible = "realtek,rtl8211f";
status = "okay";
};
ethernet-phy@1 {
reg = <0x1>;
compatible = "nxp,tja1103";
status = "okay";
int-gpios = <&test_gpio 0 0>;
master-slave = "slave";
};
ethernet-phy@2 {
reg = <0x2>;
compatible = "microchip,ksz8081";
status = "okay";
reset-gpios = <&test_gpio 0 0>;
int-gpios = <&test_gpio 0 0>;
microchip,interface-type = "rmii";
};
ethernet-phy@3 {
reg = <0x3>;
compatible = "microchip,ksz8794";
status = "okay";
reset-gpios = <&test_gpio 0 0>;
int-gpios = <&test_gpio 0 0>;
microchip,interface-type = "rmii";
};
ethernet-phy@4 {
reg = <0x4>;
compatible = "microchip,ksz8863";
status = "okay";
reset-gpios = <&test_gpio 0 0>;
int-gpios = <&test_gpio 0 0>;
microchip,interface-type = "rmii";
};
ethernet-phy@5 {
reg = <0x5>;
compatible = "adi,adin1100-phy";
status = "okay";
};
ethernet-phy@6 {
reg = <0x6>;
compatible = "adi,adin2111-phy";
status = "okay";
};
ethernet-phy@7 {
reg = <0x7>;
compatible = "davicom,dm8806-phy";
status = "okay";
reg-switch = <8>;
reset-gpios = <&test_gpio 0 0>;
int-gpios = <&test_gpio 0 0>;
davicom,interface-type = "rmii";
};
ethernet-phy@8 {
reg = <0x8>;
compatible = "ti,dp83867";
status = "okay";
reset-gpios = <&test_gpio 0 0>;
int-gpios = <&test_gpio 0 0>;
};
};
};
};
};