hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/s5pv210-smdkv210.dts
....@@ -15,6 +15,7 @@
1515 */
1616
1717 /dts-v1/;
18
+#include <dt-bindings/interrupt-controller/irq.h>
1819 #include <dt-bindings/input/input.h>
1920 #include "s5pv210.dtsi"
2021
....@@ -31,11 +32,18 @@
3132 reg = <0x20000000 0x40000000>;
3233 };
3334
34
- ethernet@18000000 {
35
+ pmic_ap_clk: clock-0 {
36
+ /* Workaround for missing PMIC and its clock */
37
+ compatible = "fixed-clock";
38
+ #clock-cells = <0>;
39
+ clock-frequency = <32768>;
40
+ };
41
+
42
+ ethernet@a8000000 {
3543 compatible = "davicom,dm9000";
3644 reg = <0xA8000000 0x2 0xA8000002 0x2>;
3745 interrupt-parent = <&gph1>;
38
- interrupts = <1 4>;
46
+ interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
3947 local-mac-address = [00 00 de ad be ef];
4048 davicom,no-eeprom;
4149 };
....@@ -147,6 +155,8 @@
147155
148156 &rtc {
149157 status = "okay";
158
+ clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>;
159
+ clock-names = "rtc", "rtc_src";
150160 };
151161
152162 &sdhci0 {