]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-binding: histb-clock: add clocks definition for Hi3798MV200
authorYang Xiwen <forbidden405@outlook.com>
Sat, 1 Apr 2023 11:17:35 +0000 (19:17 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 3 May 2023 13:05:24 +0000 (09:05 -0400)
These clocks are found on Hi3798MV200

Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
include/dt-bindings/clock/histb-clock.h

index 136de24733bea37fe1cbce30740a804acbf884b3..8a05790d1a91f337f810f5d44cd8f769edaa5cb8 100644 (file)
 #define HISTB_USB3_UTMI_CLK1           48
 #define HISTB_USB3_PIPE_CLK1           49
 #define HISTB_USB3_SUSPEND_CLK1                50
+#define HISTB_SDIO1_BIU_CLK            51
+#define HISTB_SDIO1_CIU_CLK            52
+#define HISTB_SDIO1_DRV_CLK            53
+#define HISTB_SDIO1_SAMPLE_CLK         54
+
+/* Hi3798MV200 specific clocks */
+
+// reuse clocks of histb
+#define HI3798MV200_GMAC_CLK           HISTB_ETH0_MAC_CLK
+#define HI3798MV200_GMACIF_CLK         HISTB_ETH0_MACIF_CLK
+#define HI3798MV200_FEMAC_CLK          HISTB_ETH1_MAC_CLK
+#define HI3798MV200_FEMACIF_CLK                HISTB_ETH1_MACIF_CLK
 
 /* clocks provided by mcu CRG */
 #define HISTB_MCE_CLK                  1