Skip to content

Commit

Permalink
arm64: make rtc and eeprom work on r4
Browse files Browse the repository at this point in the history
arm64: dts: disable rtc interrupt as it causes warning in gic driver

[    1.935187] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic-v3.c:1706
gic_irq_domain_select+0x15c/0x204

fix rtc by using address 0x51
  • Loading branch information
frank-w committed Sep 23, 2024
1 parent 1ea89fc commit d309754
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@
#size-cells = <0>;
reg = <0>;

pcf8563: rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
//interrupts = <&pio 6 IRQ_TYPE_LEVEL_LOW>;
#clock-cells = <0>;
//status = "disabled";
};

eeprom@57 {
compatible = "atmel,24c02";
reg = <0x57>;
Expand All @@ -258,13 +266,6 @@
size = <256>;
};

pcf8563: rtc@50 {
compatible = "nxp,pcf8563";
reg = <0x50>;
interrupts = <&pio 6 IRQ_TYPE_LEVEL_LOW>;
#clock-cells = <0>;
status = "disabled";
};
};

i2c_sfp1: i2c@1 {
Expand Down

0 comments on commit d309754

Please sign in to comment.