File tree Expand file tree Collapse file tree 5 files changed +558
-113
lines changed
Documentation/devicetree/bindings/soc/spacemit
arch/riscv/boot/dts/spacemit
include/dt-bindings/clock Expand file tree Collapse file tree 5 files changed +558
-113
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ properties:
19
19
- spacemit,k1-syscon-apbc
20
20
- spacemit,k1-syscon-apmu
21
21
- spacemit,k1-syscon-mpmu
22
+ - spacemit,k1-syscon-rcpu
23
+ - spacemit,k1-syscon-rcpu2
24
+ - spacemit,k1-syscon-apbc2
22
25
23
26
reg :
24
27
maxItems : 1
@@ -47,23 +50,35 @@ properties:
47
50
required :
48
51
- compatible
49
52
- reg
50
- - clocks
51
- - clock-names
52
- - " #clock-cells"
53
53
- " #reset-cells"
54
54
55
55
allOf :
56
56
- if :
57
57
properties :
58
58
compatible :
59
59
contains :
60
- const : spacemit,k1-syscon-apbc
60
+ enum :
61
+ - spacemit,k1-syscon-apmu
62
+ - spacemit,k1-syscon-mpmu
61
63
then :
64
+ required :
65
+ - " #power-domain-cells"
66
+ else :
62
67
properties :
63
68
" #power-domain-cells " : false
64
- else :
69
+ - if :
70
+ properties :
71
+ compatible :
72
+ contains :
73
+ enum :
74
+ - spacemit,k1-syscon-apbc
75
+ - spacemit,k1-syscon-apmu
76
+ - spacemit,k1-syscon-mpmu
77
+ then :
65
78
required :
66
- - " #power-domain-cells"
79
+ - clocks
80
+ - clock-names
81
+ - " #clock-cells"
67
82
68
83
additionalProperties : false
69
84
Original file line number Diff line number Diff line change 30
30
};
31
31
};
32
32
33
+ &emmc {
34
+ bus-width = <8>;
35
+ mmc-hs400-1_8v;
36
+ mmc-hs400-enhanced-strobe;
37
+ non-removable;
38
+ no-sd;
39
+ no-sdio;
40
+ status = "okay";
41
+ };
42
+
33
43
&uart0 {
34
44
pinctrl-names = "default";
35
45
pinctrl-0 = <&uart0_2_cfg>;
Original file line number Diff line number Diff line change 20
20
drive-strength = <32>;
21
21
};
22
22
};
23
+
24
+ pwm14_1_cfg: pwm14-1-cfg {
25
+ pwm14-1-pins {
26
+ pinmux = <K1_PADCONF(44, 4)>;
27
+ bias-pull-up = <0>;
28
+ drive-strength = <32>;
29
+ };
30
+ };
23
31
};
You can’t perform that action at this time.
0 commit comments