Adding pinmux entry for gpio on Hikey960


#1

Hi,

I want to add pinmux entry for gpio_21 of soc which is connected LS pin 34 to configure it as input pin and enable internal pull up resistor.
But in the soc reference manual link, there is no information on the register address used in the dts file.

Ex:
pmu_pmx_func: pmu_pmx_func {
pinctrl-single,pins = <
0x008 MUX_M1 /* PMU1_SSI /
0x00c MUX_M1 /
PMU2_SSI /
0x010 MUX_M1 /
PMU_CLKOUT /
0x100 MUX_M1 /
PMU_HKADC_SSI */
>;
};

Where 0x008 offset value is mentioned and when MUX_M1, MUX_M2… value is used for?

Thanks,


#2

A post was merged into an existing topic: How to enable internal gpio pull up/down


#3