forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/imx6dl-riotboard.dts
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2014 Iain Paton <ipaton0@gmail.com>
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
7
- *
84 */
95
106 /dts-v1/;
....@@ -16,6 +12,7 @@
1612 compatible = "riot,imx6s-riotboard", "fsl,imx6dl";
1713
1814 memory@10000000 {
15
+ device_type = "memory";
1916 reg = <0x10000000 0x40000000>;
2017 };
2118
....@@ -84,15 +81,35 @@
8481 status = "okay";
8582 };
8683
84
+&clks {
85
+ fsl,pmic-stby-poweroff;
86
+};
87
+
8788 &fec {
8889 pinctrl-names = "default";
8990 pinctrl-0 = <&pinctrl_enet>;
90
- phy-mode = "rgmii";
91
- phy-reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
91
+ phy-mode = "rgmii-id";
92
+ phy-handle = <&rgmii_phy>;
9293 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
9394 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
9495 fsl,err006687-workaround-present;
9596 status = "okay";
97
+
98
+ mdio {
99
+ #address-cells = <1>;
100
+ #size-cells = <0>;
101
+
102
+ /* Atheros AR8035 PHY */
103
+ rgmii_phy: ethernet-phy@4 {
104
+ reg = <4>;
105
+ interrupts-extended = <&gpio1 28 IRQ_TYPE_LEVEL_LOW>;
106
+ reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
107
+ reset-assert-us = <10000>;
108
+ reset-deassert-us = <1000>;
109
+ qca,smarteee-tw-us-1g = <24>;
110
+ qca,clk-out-frequency = <125000000>;
111
+ };
112
+ };
96113 };
97114
98115 &gpio1 {
....@@ -164,6 +181,7 @@
164181 reg = <0x08>;
165182 interrupt-parent = <&gpio5>;
166183 interrupts = <16 8>;
184
+ fsl,pmic-stby-poweroff;
167185
168186 regulators {
169187 reg_vddcore: sw1ab { /* VDDARM_IN */