Skip to content

Commit 925b61b

Browse files
smaeuljernejsk
authored andcommitted
dt-bindings: clock: Add D1 CAN bus gates and resets
The D1 CCU contains gates and resets for two CAN buses. While the CAN bus controllers are only documented for the T113 SoC, the CCU is the same across all SoC variants. Reviewed-by: Andre Przywara <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Acked-by: Philipp Zabel <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jernej Skrabec <[email protected]>
1 parent 6ec1c73 commit 925b61b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/dt-bindings/clock/sun20i-d1-ccu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,7 @@
152152
#define CLK_FANOUT0 142
153153
#define CLK_FANOUT1 143
154154
#define CLK_FANOUT2 144
155+
#define CLK_BUS_CAN0 145
156+
#define CLK_BUS_CAN1 146
155157

156158
#endif /* _DT_BINDINGS_CLK_SUN20I_D1_CCU_H_ */

include/dt-bindings/reset/sun20i-d1-ccu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,7 @@
7373
#define RST_BUS_DSP_CFG 63
7474
#define RST_BUS_DSP_DBG 64
7575
#define RST_BUS_RISCV_CFG 65
76+
#define RST_BUS_CAN0 66
77+
#define RST_BUS_CAN1 67
7678

7779
#endif /* _DT_BINDINGS_RST_SUN20I_D1_CCU_H_ */

0 commit comments

Comments
 (0)