hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/arm/boot/dts/imx6sx-sdb-reva.dts
....@@ -1,15 +1,12 @@
1
-/*
2
- * Copyright (C) 2015 Freescale Semiconductor, Inc.
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
- */
1
+// SPDX-License-Identifier: GPL-2.0
2
+//
3
+// Copyright (C) 2015 Freescale Semiconductor, Inc.
84
95 #include "imx6sx-sdb.dtsi"
106
117 / {
128 model = "Freescale i.MX6 SoloX SDB RevA Board";
9
+ compatible = "fsl,imx6sx-sdb-reva", "fsl,imx6sx";
1310 };
1411
1512 &i2c1 {
....@@ -126,19 +123,47 @@
126123 pinctrl-0 = <&pinctrl_qspi2>;
127124 status = "okay";
128125
129
- flash0: s25fl128s@0 {
126
+ flash0: flash@0 {
130127 reg = <0>;
131128 #address-cells = <1>;
132129 #size-cells = <1>;
133130 compatible = "spansion,s25fl128s", "jedec,spi-nor";
134131 spi-max-frequency = <66000000>;
132
+ spi-rx-bus-width = <4>;
133
+ spi-tx-bus-width = <4>;
135134 };
136135
137
- flash1: s25fl128s@1 {
138
- reg = <1>;
136
+ flash1: flash@2 {
137
+ reg = <2>;
139138 #address-cells = <1>;
140139 #size-cells = <1>;
141140 compatible = "spansion,s25fl128s", "jedec,spi-nor";
142141 spi-max-frequency = <66000000>;
142
+ spi-rx-bus-width = <4>;
143
+ spi-tx-bus-width = <4>;
143144 };
144145 };
146
+
147
+&reg_can_en {
148
+ /* Transceiver EN/STBY is active high on RevA board */
149
+ gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
150
+ enable-active-high;
151
+};
152
+
153
+&reg_can_stby {
154
+ gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
155
+ enable-active-high;
156
+ vin-supply = <&reg_can_en>;
157
+};
158
+
159
+&reg_vdd1p1 {
160
+ vin-supply = <&vgen6_reg>;
161
+};
162
+
163
+&reg_vdd2p5 {
164
+ vin-supply = <&vgen6_reg>;
165
+};
166
+
167
+&snvs_pwrkey {
168
+ status = "okay";
169
+};