dts: boards: Use ethernet-phy
devicetree node name consistently
Some Ethernet PHYs used the devicetree node name `phy`, while others used `ethernet-phy`. Be consistent and use `ethernet-phy` throughout. Signed-off-by: Maureen Helm <maureen.helm@analog.com>
This commit is contained in:
parent
e8e5d5554c
commit
ce42ffcce0
10 changed files with 11 additions and 11 deletions
|
@ -132,7 +132,7 @@ zephyr_udc0: &usb0 {
|
|||
pinctrl-0 = <&mdio_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
phy: phy {
|
||||
phy: ethernet-phy {
|
||||
compatible = "ethernet-phy";
|
||||
status = "okay";
|
||||
address = <0>;
|
||||
|
|
|
@ -198,7 +198,7 @@
|
|||
pinctrl-0 = <&mdio_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
phy: phy {
|
||||
phy: ethernet-phy {
|
||||
compatible = "ethernet-phy";
|
||||
status = "okay";
|
||||
address = <0>;
|
||||
|
|
|
@ -136,7 +136,7 @@ zephyr_udc0: &usbhs {
|
|||
pinctrl-0 = <&mdio_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
phy: phy {
|
||||
phy: ethernet-phy {
|
||||
compatible = "ethernet-phy";
|
||||
status = "okay";
|
||||
address = <0>;
|
||||
|
|
|
@ -245,7 +245,7 @@ zephyr_udc0: &usbhs {
|
|||
pinctrl-0 = <&mdio_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
phy: phy {
|
||||
phy: ethernet-phy {
|
||||
compatible = "ethernet-phy";
|
||||
status = "okay";
|
||||
address = <0>;
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
compatible = "smsc,lan91c111-mdio";
|
||||
status = "disabled";
|
||||
|
||||
phy: phy {
|
||||
phy: ethernet-phy {
|
||||
compatible = "ethernet-phy";
|
||||
status = "disabled";
|
||||
address = <0>;
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
pinctrl-0 = <&mdio_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
phy: phy {
|
||||
phy: ethernet-phy {
|
||||
compatible = "ethernet-phy";
|
||||
status = "disabled";
|
||||
address = <1>;
|
||||
|
|
|
@ -938,7 +938,7 @@ static const struct ethernet_api adin2111_port_api = {
|
|||
#define ADIN2111_XSTR(x) ADIN2111_STR(x)
|
||||
|
||||
#define ADIN2111_MDIO_PHY_BY_ADDR(adin_n, phy_addr) \
|
||||
DEVICE_DT_GET(DT_CHILD(DT_INST_CHILD(adin_n, mdio), phy_##phy_addr))
|
||||
DEVICE_DT_GET(DT_CHILD(DT_INST_CHILD(adin_n, mdio), ethernet_phy_##phy_addr))
|
||||
|
||||
#define ADIN2111_PORT_MAC(adin_n, port_n) \
|
||||
DT_PROP(DT_CHILD(DT_DRV_INST(adin_n), port##port_n), local_mac_address)
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
compatible = "smsc,lan91c111-mdio";
|
||||
status = "disabled";
|
||||
|
||||
phy: phy {
|
||||
phy: ethernet-phy {
|
||||
compatible = "ethernet-phy";
|
||||
status = "disabled";
|
||||
address = <0>;
|
||||
|
|
|
@ -20,7 +20,7 @@ description: |
|
|||
status = "okay";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
phy@1 {
|
||||
ethernet-phy@1 {
|
||||
reg = <0x1>;
|
||||
compatible = "adi,adin2111-phy";
|
||||
status = "okay";
|
||||
|
|
|
@ -23,12 +23,12 @@ description: |
|
|||
status = "okay";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
phy@1 {
|
||||
ethernet-phy@1 {
|
||||
reg = <0x1>;
|
||||
compatible = "adi,adin2111-phy";
|
||||
status = "okay";
|
||||
};
|
||||
phy@2 {
|
||||
ethernet-phy@2 {
|
||||
reg = <0x2>;
|
||||
compatible = "adi,adin2111-phy";
|
||||
status = "okay";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue