lx2080 Custom board.
I have mounted an RTC device under I2C-2, but how do I determine its interrupt number, which I need
to configure in the device tree。
&i2c2 {
status = "okay";
rx8111@32 {
compatible = "epson,rx8111";
reg = <0x32>;
//interrupts = <0 150 0x4>;
};
The interrupt number is incorrectly configured, causing device loading failure,kernel log:
root@TinyLinux:~# dmesg|grep rtc
[ 4.035145] ftm-alarm 2800000.timer: registered as rtc1
[ 4.045506] rtc-rx8111 2-0032: i2c_smbus_write_byte_data over rx8111_init_client
[ 4.056099] rtc-rx8111 2-0032: Init Success
[ 4.060279] rtc-rx8111 2-0032: IRQ supplied fail
[ 4.066136] rtc-rx8111 2-0032: registered as rtc0
[ 5.355119] fsl_dpaa2_ptp dprtc.0: Adding to iommu group 6
[ 6.090951] rtc-rx8111 2-0032: setting system clock to 2020-12-10T20:08:56 UTC (1607630936)
root@TinyLinux:~#
Circuit schematic diagram:

