Prepare v2023.10
[platform/kernel/u-boot.git] / arch / arm / dts / imx6q-bx50v3-uboot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+ OR X11
2 /*
3  * Copyright 2019 Collabora Ltd
4  * Copyright 2019 General Electric Company
5  */
6
7 / {
8         bootcount {
9                 compatible = "u-boot,bootcount-i2c-eeprom";
10                 i2c-eeprom = <&bootcount>;
11         };
12
13         wdt-reboot {
14                 compatible = "wdt-reboot";
15                 wdt = <&wdog1>;
16         };
17
18         panel-lvds0 {
19                 compatible = "simple-panel";
20         };
21 };
22
23 &eeprom {
24         partitions {
25                 compatible = "fixed-partitions";
26                 #address-cells = <1>;
27                 #size-cells = <1>;
28
29                 vpd@0 {
30                         reg = <0 800>;
31                 };
32
33                 bootcount: bootcount {
34                         reg = <1022 2>;
35                 };
36         };
37 };
38
39 /*
40  * This is not done in imx6q-ba16.dtsi, since that file is shared
41  * with the kernel and the kernel should not reset the PHY, since
42  * it lacks support for configuring the reserved registeres to
43  * avoid a board specific voltage peak issue.
44  */
45 &fec {
46         phy-reset-gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
47         phy-reset-duration = <1>;
48         phy-reset-post-delay = <0>;
49 };
50
51 /*
52  * PCIe reset is not done in the file shared with the kernel, since
53  * this GPIO also resets other peripherals (i.e. not just PCIe).
54  * These peripherals are being initialized by U-Boot and should not
55  * be reset by the kernel, so it may not reset PCIe via this GPIO.
56  */
57 &pcie {
58         reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
59 };