forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/stm32f746.dtsi
....@@ -40,12 +40,14 @@
4040 * OTHER DEALINGS IN THE SOFTWARE.
4141 */
4242
43
-#include "skeleton.dtsi"
4443 #include "armv7-m.dtsi"
4544 #include <dt-bindings/clock/stm32fx-clock.h>
4645 #include <dt-bindings/mfd/stm32f7-rcc.h>
4746
4847 / {
48
+ #address-cells = <1>;
49
+ #size-cells = <1>;
50
+
4951 clocks {
5052 clk_hse: clk-hse {
5153 #clock-cells = <0>;
....@@ -92,6 +94,7 @@
9294
9395 pwm {
9496 compatible = "st,stm32-pwm";
97
+ #pwm-cells = <3>;
9598 status = "disabled";
9699 };
97100
....@@ -121,6 +124,7 @@
121124
122125 pwm {
123126 compatible = "st,stm32-pwm";
127
+ #pwm-cells = <3>;
124128 status = "disabled";
125129 };
126130
....@@ -150,6 +154,7 @@
150154
151155 pwm {
152156 compatible = "st,stm32-pwm";
157
+ #pwm-cells = <3>;
153158 status = "disabled";
154159 };
155160
....@@ -178,6 +183,7 @@
178183
179184 pwm {
180185 compatible = "st,stm32-pwm";
186
+ #pwm-cells = <3>;
181187 status = "disabled";
182188 };
183189
....@@ -247,6 +253,7 @@
247253
248254 pwm {
249255 compatible = "st,stm32-pwm";
256
+ #pwm-cells = <3>;
250257 status = "disabled";
251258 };
252259
....@@ -266,6 +273,7 @@
266273
267274 pwm {
268275 compatible = "st,stm32-pwm";
276
+ #pwm-cells = <3>;
269277 status = "disabled";
270278 };
271279 };
....@@ -279,6 +287,7 @@
279287
280288 pwm {
281289 compatible = "st,stm32-pwm";
290
+ #pwm-cells = <3>;
282291 status = "disabled";
283292 };
284293 };
....@@ -287,12 +296,10 @@
287296 compatible = "st,stm32-rtc";
288297 reg = <0x40002800 0x400>;
289298 clocks = <&rcc 1 CLK_RTC>;
290
- clock-names = "ck_rtc";
291299 assigned-clocks = <&rcc 1 CLK_RTC>;
292300 assigned-clock-parents = <&rcc 1 CLK_LSE>;
293301 interrupt-parent = <&exti>;
294302 interrupts = <17 1>;
295
- interrupt-names = "alarm";
296303 st,syscfg = <&pwrcfg 0x00 0x100>;
297304 status = "disabled";
298305 };
....@@ -413,6 +420,7 @@
413420
414421 pwm {
415422 compatible = "st,stm32-pwm";
423
+ #pwm-cells = <3>;
416424 status = "disabled";
417425 };
418426
....@@ -434,6 +442,7 @@
434442
435443 pwm {
436444 compatible = "st,stm32-pwm";
445
+ #pwm-cells = <3>;
437446 status = "disabled";
438447 };
439448
....@@ -482,8 +491,8 @@
482491 status = "disabled";
483492 };
484493
485
- syscfg: system-config@40013800 {
486
- compatible = "syscon";
494
+ syscfg: syscon@40013800 {
495
+ compatible = "st,stm32-syscfg", "syscon";
487496 reg = <0x40013800 0x400>;
488497 };
489498
....@@ -506,6 +515,7 @@
506515
507516 pwm {
508517 compatible = "st,stm32-pwm";
518
+ #pwm-cells = <3>;
509519 status = "disabled";
510520 };
511521
....@@ -525,6 +535,7 @@
525535
526536 pwm {
527537 compatible = "st,stm32-pwm";
538
+ #pwm-cells = <3>;
528539 status = "disabled";
529540 };
530541 };
....@@ -538,12 +549,13 @@
538549
539550 pwm {
540551 compatible = "st,stm32-pwm";
552
+ #pwm-cells = <3>;
541553 status = "disabled";
542554 };
543555 };
544556
545557 pwrcfg: power-config@40007000 {
546
- compatible = "syscon";
558
+ compatible = "st,stm32-power-config", "syscon";
547559 reg = <0x40007000 0x400>;
548560 };
549561
....@@ -565,7 +577,7 @@
565577 assigned-clock-rates = <1000000>;
566578 };
567579
568
- dma1: dma@40026000 {
580
+ dma1: dma-controller@40026000 {
569581 compatible = "st,stm32-dma";
570582 reg = <0x40026000 0x400>;
571583 interrupts = <11>,
....@@ -581,7 +593,7 @@
581593 status = "disabled";
582594 };
583595
584
- dma2: dma@40026400 {
596
+ dma2: dma-controller@40026400 {
585597 compatible = "st,stm32-dma";
586598 reg = <0x40026400 0x400>;
587599 interrupts = <56>,