Skip to content

Commit

Permalink
arm64: try to add rtc and eeprom to r4
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Apr 20, 2024
1 parent cc2f94d commit 8528108
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
32 changes: 16 additions & 16 deletions arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
Expand Up @@ -235,6 +235,22 @@
pinctrl-0 = <&i2c2_1_pins>;
status = "okay";

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

eeprom@57 {
compatible = "atmel,24c02";
reg = <0x57>;
address-bits = <8>;
page-size = <8>;
size = <256>;
};

pca9545: i2c-switch@70 {
reg = <0x70>;
compatible = "nxp,pca9545";
Expand All @@ -246,22 +262,6 @@
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;

eeprom@57 {
compatible = "atmel,24c02";
reg = <0x57>;
address-bits = <8>;
page-size = <8>;
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
2 changes: 2 additions & 0 deletions arch/arm64/configs/mt7988a_bpi-r4_defconfig
Expand Up @@ -1270,3 +1270,5 @@ CONFIG_PCS_MTK_USXGMII=y
CONFIG_MT7915E=m
CONFIG_MT798X_WMAC=y
CONFIG_PHY_MTK_XFI_TPHY=y
CONFIG_RTC_DRV_PCF8563=y
CONFIG_EEPROM_AT24=y

0 comments on commit 8528108

Please sign in to comment.