&am33xx_pinmux {
pinctrl-names = "default";
pinctrl-0 = <&misc_gpios>;
misc_gpios: pinmux_misc_gpios {
pinctrl-single,pins = <
0x20 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (U10) gpmc_ad8.gpio0[22] */
0x24 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (T10) gpmc_ad9.gpio0[23] */
0x28 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (T11) gpmc_ad10.gpio0[26] */
0x2c ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (U12) gpmc_ad11.gpio0[27] */
0x30 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T12) gpmc_ad12.gpio1[12] */
0x34 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (R12) gpmc_ad13.gpio1[13] */
0x38 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (V13) gpmc_ad14.gpio1[14] */
0x3c ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (U13) gpmc_ad15.gpio1[15] */
0x88 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (T13) gpmc_csn3.gpio2[0] */
0x8c ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (V12) gpmc_clk.gpio2[1] */
>;
};
修改完之后, 使用下面命令重新编译设备树即可
&gpio0 {
status = "okay";
ti,no-reset-on-init;
};
&gpio1 {
status = "okay";
ti,no-reset-on-init;
};
&gpio2 {
status = "okay";
ti,no-reset-on-init;
};
全部0条评论
快来发表一下你的评论吧 !