Other Parts Discussed in Thread: SYSCONFIG
Hi
We are seeing the following Linux kernel errors on our board:
pinctrl-single 4301c068.pinctrl: mux offset out of range: 0x134 (0x120)
pinctrl-single 4301c068.pinctrl: could not add functions for mcu-adc0-pins-default 308x
Pinmux configuration generated with SysConfig (Version 1.18.0+3266) looks like:
&wkup_pmx2 {
mcu_adc0_pins_default: mcu-adc0-pins-default { /* xqq: verified that put it in wkup_pmx0 is also ok. will check if in wkup_pmx2 is ok */
pinctrl-single,pins = <
J784S4_WKUP_IOPAD(0x134, PIN_INPUT, 0) /* (P36) MCU_ADC0_AIN0 */ /* WKUP_PADCONFIG_77 */
J784S4_WKUP_IOPAD(0x138, PIN_INPUT, 0) /* (V36) MCU_ADC0_AIN1 */ /* WKUP_PADCONFIG_78 */
J784S4_WKUP_IOPAD(0x13c, PIN_INPUT, 0) /* (T34) MCU_ADC0_AIN2 */ /* WKUP_PADCONFIG_79 */
J784S4_WKUP_IOPAD(0x140, PIN_INPUT, 0) /* (T36) MCU_ADC0_AIN3 */ /* WKUP_PADCONFIG_80 */
J784S4_WKUP_IOPAD(0x144, PIN_INPUT, 0) /* (P34) MCU_ADC0_AIN4 */ /* WKUP_PADCONFIG_81 */
J784S4_WKUP_IOPAD(0x148, PIN_INPUT, 0) /* (R37) MCU_ADC0_AIN5 */ /* WKUP_PADCONFIG_82 */
J784S4_WKUP_IOPAD(0x14c, PIN_INPUT, 0) /* (R33) MCU_ADC0_AIN6 */ /* WKUP_PADCONFIG_83 */
>;
};
};
Pinctrl configuration (from SDK) looks like:
wkup_pmx2: pinctrl@4301c068 {
compatible = "pinctrl-single";
/* Proxy 0 addressing */
reg = <0x00 0x4301c068 0x00 0x128>;
#pinctrl-cells = <1>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0xffffffff>;
}
Could you please help us solve the issue?
Best Regards
Daniel