boards: st: add mdio and phy nodes
Add mdio and phy nodes for h5/h7 families. Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
This commit is contained in:
parent
a7c720b7d4
commit
2fbb01ae90
7 changed files with 89 additions and 19 deletions
|
@ -40,14 +40,24 @@
|
|||
|
||||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdc_pc1
|
||||
ð_rxd0_pc4
|
||||
pinctrl-0 = <ð_rxd0_pc4
|
||||
ð_rxd1_pc5
|
||||
ð_ref_clk_pa1
|
||||
ð_mdio_pa2
|
||||
ð_crs_dv_pa7
|
||||
ð_tx_en_pg11
|
||||
ð_txd0_pg13
|
||||
ð_txd1_pb15>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0x00>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -160,9 +160,7 @@
|
|||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_ref_clk_pa1
|
||||
ð_mdio_pa2
|
||||
ð_crs_dv_pa7
|
||||
ð_mdc_pc1
|
||||
ð_rxd0_pc4
|
||||
ð_rxd1_pc5
|
||||
ð_tx_en_pg11
|
||||
|
@ -171,6 +169,18 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
phy: ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
zephyr_udc0: &usbotg_hs {
|
||||
pinctrl-0 = <&usb_otg_hs_dm_pa11 &usb_otg_hs_dp_pa12>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -187,11 +187,9 @@ zephyr_udc0: &usbotg_fs {
|
|||
*/
|
||||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdc_pc1
|
||||
ð_rxd0_pc4
|
||||
pinctrl-0 = <ð_rxd0_pc4
|
||||
ð_rxd1_pc5
|
||||
ð_ref_clk_pa1
|
||||
ð_mdio_pa2
|
||||
ð_crs_dv_pa7
|
||||
ð_tx_en_pg11
|
||||
ð_txd0_pg13
|
||||
|
@ -199,6 +197,18 @@ zephyr_udc0: &usbotg_fs {
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0x00>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
|
||||
|
|
|
@ -107,9 +107,7 @@
|
|||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_ref_clk_pa1
|
||||
ð_mdio_pa2
|
||||
ð_crs_dv_pa7
|
||||
ð_mdc_pc1
|
||||
ð_rxd0_pc4
|
||||
ð_rxd1_pc5
|
||||
ð_tx_en_pg11
|
||||
|
@ -118,6 +116,18 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0x00>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&rng {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -164,11 +164,9 @@ zephyr_udc0: &usbotg_fs {
|
|||
*/
|
||||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdc_pc1
|
||||
ð_rxd0_pc4
|
||||
pinctrl-0 = <ð_rxd0_pc4
|
||||
ð_rxd1_pc5
|
||||
ð_ref_clk_pa1
|
||||
ð_mdio_pa2
|
||||
ð_crs_dv_pa7
|
||||
ð_tx_en_pg11
|
||||
ð_txd0_pg13
|
||||
|
@ -176,6 +174,18 @@ zephyr_udc0: &usbotg_fs {
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0x00>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
|
||||
|
|
|
@ -149,11 +149,9 @@
|
|||
|
||||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdc_pc1
|
||||
ð_rxd0_pc4
|
||||
pinctrl-0 = <ð_rxd0_pc4
|
||||
ð_rxd1_pc5
|
||||
ð_ref_clk_pa1
|
||||
ð_mdio_pa2
|
||||
ð_crs_dv_pa7
|
||||
ð_tx_en_pg11
|
||||
ð_txd0_pg13
|
||||
|
@ -161,6 +159,18 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0x00>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
|
|
|
@ -130,11 +130,9 @@
|
|||
};
|
||||
|
||||
&mac {
|
||||
pinctrl-0 = <ð_mdc_pc1
|
||||
ð_rxd0_pc4
|
||||
pinctrl-0 = <ð_rxd0_pc4
|
||||
ð_rxd1_pc5
|
||||
ð_ref_clk_pa1
|
||||
ð_mdio_pa2
|
||||
ð_crs_dv_pa7
|
||||
ð_tx_en_pb11
|
||||
ð_txd0_pb12
|
||||
|
@ -143,6 +141,18 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0x00>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&sdmmc1 {
|
||||
pinctrl-0 = <&sdmmc1_d0_pc8
|
||||
&sdmmc1_d1_pc9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue