kernel/include/linux/soc/mediatek/infracfg.h
.. .. @@ -32,6 +32,9 @@ 32 32 #define MT7622_TOP_AXI_PROT_EN_WB (BIT(2) | BIT(6) | \ 33 33 BIT(7) | BIT(8)) 34 34 35 +#define REG_INFRA_MISC 0xf0036 +#define F_DDR_4GB_SUPPORT_EN BIT(13)37 +35 38 int mtk_infracfg_set_bus_protection(struct regmap *infracfg, u32 mask, 36 39 bool reg_update); 37 40 int mtk_infracfg_clear_bus_protection(struct regmap *infracfg, u32 mask,