firmware/br-ext-chip-sigmastar/board/infinity6b0/kernel/patches/0099-add-gospell-hym8563-on...

50 lines
1.6 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

--- a/arch/arm/boot/dts/infinity6b0.dtsi 2021-09-20 15:52:35.181208520 +0300
+++ b/arch/arm/boot/dts/infinity6b0.dtsi 2021-09-20 18:19:03.587427622 +0300
@@ -504,7 +504,11 @@
* 2 -> PAD_PWM0, PAD_PWM1
* 3 -> PAD_SR_IO00, PAD_SR_IO01
*/
- i2c-padmux = <1>;
+ i2c-padmux = <2>;
+ hym8563@51 {
+ compatible = "haoyu,hym8563";
+ reg = <0x51>;
+ };
};
i2c1@1{
@@ -680,6 +684,7 @@
status = "disabled";
};
+ /*
rtc {
compatible = "sstar,infinity-rtc";
reg = <0x1F002400 0x40>;
@@ -690,6 +695,7 @@
#endif
status = "ok";
};
+ */
rtcpwc {
compatible = "sstar,infinity-rtcpwc";
@@ -710,7 +716,7 @@
tm_yday; /*從每年的1月1日開始的天數-取值區間為[0, 365]0代表1月1日*/
default_date = <0 0 0 5 10 83 6 0>;
#endif
- status = "disabled";
+ status = "ok";
};
cpufreq {
@@ -747,7 +753,7 @@
interrupts = <GIC_SPI INT_IRQ_PWM_INT_ALL IRQ_TYPE_LEVEL_HIGH>;
clocks = <&CLK_xtali_12m>;
npwm = <11>;
- pad-ctrl = <PAD_PWM0 PAD_PWM1 PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN>;
+ pad-ctrl = <PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN PAD_UNKNOWN>;
status = "ok";
};