projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5584b96
)
ARM: dts: rockchip: add saradc support for rv1108
author
Andy Yan
<andy.yan@rock-chips.com>
Mon, 14 Aug 2017 08:41:57 +0000
(16:41 +0800)
committer
Heiko Stuebner
<heiko@sntech.de>
Mon, 14 Aug 2017 13:33:22 +0000
(15:33 +0200)
Add saradc device tree node for rv1108 soc
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rv1108.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/rv1108.dtsi
b/arch/arm/boot/dts/rv1108.dtsi
index 991b35d87c5295b3daca01e86bff2e1e3121a096..3259335a86c0f8d2ff36c77a538575e1fa9fd318 100644
(file)
--- a/
arch/arm/boot/dts/rv1108.dtsi
+++ b/
arch/arm/boot/dts/rv1108.dtsi
@@
-214,6
+214,17
@@
status = "disabled";
};
+ adc: adc@1038c000 {
+ compatible = "rockchip,rv1108-saradc", "rockchip,rk3399-saradc";
+ reg = <0x1038c000 0x100>;
+ interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+ #io-channel-cells = <1>;
+ clock-frequency = <1000000>;
+ clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
+ clock-names = "saradc", "apb_pclk";
+ status = "disabled";
+ };
+
i2c0: i2c@20000000 {
compatible = "rockchip,rv1108-i2c";
reg = <0x20000000 0x1000>;