forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/imx6sx-sdb.dts
....@@ -1,10 +1,6 @@
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
....@@ -112,20 +108,24 @@
112108 pinctrl-0 = <&pinctrl_qspi2>;
113109 status = "okay";
114110
115
- flash0: n25q256a@0 {
111
+ flash0: flash@0 {
116112 #address-cells = <1>;
117113 #size-cells = <1>;
118114 compatible = "micron,n25q256a", "jedec,spi-nor";
119115 spi-max-frequency = <29000000>;
116
+ spi-rx-bus-width = <4>;
117
+ spi-tx-bus-width = <4>;
120118 reg = <0>;
121119 };
122120
123
- flash1: n25q256a@1 {
121
+ flash1: flash@2 {
124122 #address-cells = <1>;
125123 #size-cells = <1>;
126124 compatible = "micron,n25q256a", "jedec,spi-nor";
127125 spi-max-frequency = <29000000>;
128
- reg = <1>;
126
+ spi-rx-bus-width = <4>;
127
+ spi-tx-bus-width = <4>;
128
+ reg = <2>;
129129 };
130130 };
131131
....@@ -136,3 +136,20 @@
136136 &reg_soc {
137137 vin-supply = <&sw1a_reg>;
138138 };
139
+
140
+&reg_vdd1p1 {
141
+ vin-supply = <&vgen6_reg>;
142
+};
143
+
144
+&reg_vdd2p5 {
145
+ vin-supply = <&vgen6_reg>;
146
+};
147
+
148
+&reg_can_stby {
149
+ /* Transceiver EN/STBY is active low on RevB board */
150
+ gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
151
+};
152
+
153
+&snvs_pwrkey {
154
+ status = "okay";
155
+};