hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
....@@ -1,12 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
3
- *
4
- * The code contained herein is licensed under the GNU General Public
5
- * License. You may obtain a copy of the GNU General Public License
6
- * Version 2 or later at the following locations:
7
- *
8
- * http://www.opensource.org/licenses/gpl-license.html
9
- * http://www.gnu.org/copyleft/gpl.html
104 */
115
126 #include <dt-bindings/gpio/gpio.h>
....@@ -16,6 +10,7 @@
1610 compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
1711
1812 memory@10000000 {
13
+ device_type = "memory";
1914 reg = <0x10000000 0x80000000>;
2015 };
2116
....@@ -76,9 +71,9 @@
7671 pinctrl-names = "default";
7772 pinctrl-0 = <&pinctrl_ecspi3>;
7873 status = "okay";
79
- cs-gpios = <&gpio4 24 0>;
74
+ cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
8075
81
- flash@0 {
76
+ som_flash: flash@0 {
8277 compatible = "m25p80", "jedec,spi-nor";
8378 spi-max-frequency = <20000000>;
8479 reg = <0>;
....@@ -88,11 +83,24 @@
8883 &fec {
8984 pinctrl-names = "default";
9085 pinctrl-0 = <&pinctrl_enet>;
86
+ phy-handle = <&ethphy>;
9187 phy-mode = "rgmii";
9288 phy-reset-duration = <10>; /* in msecs */
9389 phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
9490 phy-supply = <&vdd_eth_io_reg>;
9591 status = "disabled";
92
+
93
+ fec_mdio: mdio {
94
+ #address-cells = <1>;
95
+ #size-cells = <0>;
96
+
97
+ ethphy: ethernet-phy@0 {
98
+ compatible = "ethernet-phy-ieee802.3-c22";
99
+ reg = <0>;
100
+ txc-skew-ps = <1680>;
101
+ rxc-skew-ps = <1860>;
102
+ };
103
+ };
96104 };
97105
98106 &gpmi {
....@@ -107,7 +115,7 @@
107115 pinctrl-0 = <&pinctrl_i2c1>;
108116 status = "okay";
109117
110
- eeprom@50 {
118
+ som_eeprom: eeprom@50 {
111119 compatible = "atmel,24c32";
112120 reg = <0x50>;
113121 };
....@@ -117,6 +125,7 @@
117125 reg = <0x58>;
118126 interrupt-parent = <&gpio2>;
119127 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; /* active-low GPIO2_9 */
128
+ interrupt-controller;
120129
121130 regulators {
122131 vddcore_reg: bcore1 {