Skip to content

Commit a1f0f65

Browse files
JiafeiPanfabiobaltieri
authored andcommitted
dts: arm: rt118x: update netc device nodes
Update NETC device nodes according to NETC driver update: 1. Added "nxp,imx-netc" compatible. 2. Added all memory region in MMIO reg propertiy to let driver to handle MMIO mapping for all memory region. Signed-off-by: Jiafei Pan <[email protected]>
1 parent 4bfe3c1 commit a1f0f65

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

dts/arm/nxp/nxp_rt118x.dtsi

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -618,23 +618,27 @@
618618
};
619619
};
620620

621-
netc: ethernet@60000000 {
622-
reg = <0x60000000 0x1000000>;
621+
netc: ethernet {
622+
compatible = "nxp,imx-netc";
623623
#address-cells = <1>;
624624
#size-cells = <1>;
625625
ranges;
626626

627627
enetc_psi0: ethernet@60b00000 {
628628
compatible = "nxp,imx-netc-psi";
629-
reg = <0x60b00000 0x10000>;
629+
reg = <0x60b00000 0x10000>,
630+
<0x60003000 0x1000>;
631+
reg-names = "port", "pfconfig";
630632
mac-index = <0>;
631633
si-index = <0>;
632634
status = "disabled";
633635
};
634636

635637
enetc_psi1: ethernet@60b40000 {
636638
compatible = "nxp,imx-netc-psi";
637-
reg = <0x60b40000 0x10000>;
639+
reg = <0x60b40000 0x10000>,
640+
<0x60004000 0x1000>;
641+
reg-names = "port", "pfconfig";
638642
mac-index = <1>;
639643
si-index = <1>;
640644
phy-connection-type = "internal";
@@ -643,7 +647,9 @@
643647

644648
emdio: mdio@60ba0000 {
645649
compatible = "nxp,imx-netc-emdio";
646-
reg = <0x60ba0000 0x1c44>;
650+
reg = <0x60ba0000 0x1c44>,
651+
<0x60001000 0x1000>;
652+
reg-names = "basic", "pfconfig";
647653
clocks = <&ccm IMX_CCM_NETC_CLK 0x0 0>;
648654
#address-cells = <1>;
649655
#size-cells = <0>;

0 commit comments

Comments
 (0)