hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/arch/arm/boot/dts/stm32429i-eval.dts
....@@ -60,7 +60,8 @@
6060 stdout-path = "serial0:115200n8";
6161 };
6262
63
- memory {
63
+ memory@00000000 {
64
+ device_type = "memory";
6465 reg = <0x00000000 0x2000000>;
6566 };
6667
....@@ -80,33 +81,40 @@
8081 dma-ranges = <0xc0000000 0x0 0x10000000>;
8182 };
8283
83
- regulators {
84
- compatible = "simple-bus";
85
- #address-cells = <1>;
86
- #size-cells = <0>;
84
+ vdda: regulator-vdda {
85
+ compatible = "regulator-fixed";
86
+ regulator-name = "vdda";
87
+ regulator-min-microvolt = <3300000>;
88
+ regulator-max-microvolt = <3300000>;
89
+ };
8790
88
- reg_vref: regulator@0 {
89
- compatible = "regulator-fixed";
90
- reg = <0>;
91
- regulator-name = "vref";
92
- regulator-min-microvolt = <3300000>;
93
- regulator-max-microvolt = <3300000>;
94
- };
91
+ vref: regulator-vref {
92
+ compatible = "regulator-fixed";
93
+ regulator-name = "vref";
94
+ regulator-min-microvolt = <3300000>;
95
+ regulator-max-microvolt = <3300000>;
96
+ };
97
+
98
+ vdd_panel: vdd-panel {
99
+ compatible = "regulator-fixed";
100
+ regulator-name = "vdd_panel";
101
+ regulator-min-microvolt = <3300000>;
102
+ regulator-max-microvolt = <3300000>;
95103 };
96104
97105 leds {
98106 compatible = "gpio-leds";
99
- green {
107
+ led-green {
100108 gpios = <&gpiog 6 1>;
101109 linux,default-trigger = "heartbeat";
102110 };
103
- orange {
111
+ led-orange {
104112 gpios = <&gpiog 7 1>;
105113 };
106
- red {
114
+ led-red {
107115 gpios = <&gpiog 10 1>;
108116 };
109
- blue {
117
+ led-blue {
110118 gpios = <&gpiog 12 1>;
111119 };
112120 };
....@@ -135,6 +143,7 @@
135143
136144 panel_rgb: panel-rgb {
137145 compatible = "ampire,am-480272h3tmqw-t01h";
146
+ power-supply = <&vdd_panel>;
138147 status = "okay";
139148 port {
140149 panel_in_rgb: endpoint {
....@@ -154,7 +163,8 @@
154163 &adc {
155164 pinctrl-names = "default";
156165 pinctrl-0 = <&adc3_in8_pin>;
157
- vref-supply = <&reg_vref>;
166
+ vdda-supply = <&vdda>;
167
+ vref-supply = <&vref>;
158168 status = "okay";
159169 adc3: adc@200 {
160170 st,adc-channels = <8>;
....@@ -228,9 +238,8 @@
228238
229239 &ltdc {
230240 status = "okay";
231
- pinctrl-0 = <&ltdc_pins>;
241
+ pinctrl-0 = <&ltdc_pins_a>;
232242 pinctrl-names = "default";
233
- dma-ranges;
234243
235244 port {
236245 ltdc_out_rgb: endpoint {
....@@ -262,8 +271,7 @@
262271 &sdio {
263272 status = "okay";
264273 vmmc-supply = <&mmc_vcard>;
265
- cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_HIGH>;
266
- cd-inverted;
274
+ cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_LOW>;
267275 pinctrl-names = "default", "opendrain";
268276 pinctrl-0 = <&sdio_pins>;
269277 pinctrl-1 = <&sdio_pins_od>;