hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/arm/boot/dts/imx6q-marsboard.dts
....@@ -48,6 +48,7 @@
4848 compatible = "embest,imx6q-marsboard", "fsl,imx6q";
4949
5050 memory@10000000 {
51
+ device_type = "memory";
5152 reg = <0x10000000 0x40000000>;
5253 };
5354
....@@ -99,7 +100,7 @@
99100 cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
100101 status = "okay";
101102
102
- m25p80@0 {
103
+ flash@0 {
103104 compatible = "microchip,sst25vf016b";
104105 spi-max-frequency = <20000000>;
105106 reg = <0>;
....@@ -109,9 +110,23 @@
109110 &fec {
110111 pinctrl-names = "default";
111112 pinctrl-0 = <&pinctrl_enet>;
112
- phy-mode = "rgmii";
113
- phy-reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
113
+ phy-mode = "rgmii-id";
114
+ phy-handle = <&rgmii_phy>;
114115 status = "okay";
116
+
117
+ mdio {
118
+ #address-cells = <1>;
119
+ #size-cells = <0>;
120
+
121
+ /* Atheros AR8035 PHY */
122
+ rgmii_phy: ethernet-phy@4 {
123
+ reg = <4>;
124
+ interrupts-extended = <&gpio1 28 IRQ_TYPE_LEVEL_LOW>;
125
+ reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
126
+ reset-assert-us = <10000>;
127
+ reset-deassert-us = <1000>;
128
+ };
129
+ };
115130 };
116131
117132 &hdmi {