forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/imx28-cfa10036.dts
....@@ -1,22 +1,18 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2012 Free Electrons
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 /dts-v1/;
137 #include "imx28.dtsi"
8
+#include <dt-bindings/gpio/gpio.h>
149
1510 / {
1611 model = "Crystalfontz CFA-10036 Board";
1712 compatible = "crystalfontz,cfa10036", "fsl,imx28";
1813
1914 memory@40000000 {
15
+ device_type = "memory";
2016 reg = <0x40000000 0x08000000>;
2117 };
2218
....@@ -66,7 +62,7 @@
6662
6763 };
6864
69
- ssp0: ssp@80010000 {
65
+ ssp0: spi@80010000 {
7066 compatible = "fsl,imx28-mmc";
7167 pinctrl-names = "default";
7268 pinctrl-0 = <&mmc0_4bit_pins_a
....@@ -95,7 +91,7 @@
9591 pinctrl-names = "default";
9692 pinctrl-0 = <&ssd1306_cfa10036>;
9793 reg = <0x3c>;
98
- reset-gpios = <&gpio2 7 0>;
94
+ reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
9995 solomon,height = <32>;
10096 solomon,width = <128>;
10197 solomon,page-offset = <0>;