hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/imx6qdl-icore.dtsi
....@@ -1,43 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0 OR X11
12 /*
23 * Copyright (C) 2016 Amarula Solutions B.V.
34 * Copyright (C) 2016 Engicam S.r.l.
4
- *
5
- * This file is dual-licensed: you can use it either under the terms
6
- * of the GPL or the X11 license, at your option. Note that this dual
7
- * licensing only applies to this file, and not this project as a
8
- * whole.
9
- *
10
- * a) This file is free software; you can redistribute it and/or
11
- * modify it under the terms of the GNU General Public License
12
- * version 2 as published by the Free Software Foundation.
13
- *
14
- * This file is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * Or, alternatively,
20
- *
21
- * b) Permission is hereby granted, free of charge, to any person
22
- * obtaining a copy of this software and associated documentation
23
- * files (the "Software"), to deal in the Software without
24
- * restriction, including without limitation the rights to use,
25
- * copy, modify, merge, publish, distribute, sublicense, and/or
26
- * sell copies of the Software, and to permit persons to whom the
27
- * Software is furnished to do so, subject to the following
28
- * conditions:
29
- *
30
- * The above copyright notice and this permission notice shall be
31
- * included in all copies or substantial portions of the Software.
32
- *
33
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40
- * OTHER DEALINGS IN THE SOFTWARE.
415 */
426
437 #include <dt-bindings/gpio/gpio.h>
....@@ -46,7 +10,12 @@
4610
4711 / {
4812 memory@10000000 {
13
+ device_type = "memory";
4914 reg = <0x10000000 0x80000000>;
15
+ };
16
+
17
+ chosen {
18
+ stdout-path = &uart4;
5019 };
5120
5221 backlight_lvds: backlight-lvds {
....@@ -181,10 +150,23 @@
181150 &fec {
182151 pinctrl-names = "default";
183152 pinctrl-0 = <&pinctrl_enet>;
184
- phy-reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
185153 clocks = <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET>, <&rmii_clk>;
186154 phy-mode = "rmii";
155
+ phy-handle = <&eth_phy>;
187156 status = "okay";
157
+
158
+ mdio {
159
+ #address-cells = <1>;
160
+ #size-cells = <0>;
161
+
162
+ eth_phy: ethernet-phy@0 {
163
+ compatible = "ethernet-phy-ieee802.3-c22";
164
+ reg = <0>;
165
+ reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
166
+ reset-assert-us = <4000>;
167
+ reset-deassert-us = <4000>;
168
+ };
169
+ };
188170 };
189171
190172 &gpmi {
....@@ -263,6 +245,7 @@
263245 };
264246
265247 &pwm3 {
248
+ #pwm-cells = <2>;
266249 pinctrl-names = "default";
267250 pinctrl-0 = <&pinctrl_pwm3>;
268251 status = "okay";
....@@ -310,7 +293,7 @@
310293 };
311294
312295 &iomuxc {
313
- pinctrl_audmux: audmux {
296
+ pinctrl_audmux: audmuxgrp {
314297 fsl,pins = <
315298 MX6QDL_PAD_DISP0_DAT20__AUD4_TXC 0x130b0
316299 MX6QDL_PAD_DISP0_DAT21__AUD4_TXD 0x110b0
....@@ -349,7 +332,7 @@
349332 >;
350333 };
351334
352
- pinctrl_gpmi_nand: gpmi-nand {
335
+ pinctrl_gpmi_nand: gpminandgrp {
353336 fsl,pins = <
354337 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
355338 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
....@@ -415,7 +398,7 @@
415398
416399 pinctrl_usbotg: usbotggrp {
417400 fsl,pins = <
418
- MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
401
+ MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
419402 >;
420403 };
421404
....@@ -427,6 +410,7 @@
427410 MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17070
428411 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17070
429412 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17070
413
+ MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x1b0b0
430414 >;
431415 };
432416