i2c0 = &i2c0;
i2c1 = &i2c1;
i2c2 = &i2c2;
+ i2c3 = &i2c3;
// spi0 = &spi0;
};
dmas = <&pdma 4>, <&pdma 5>;
#dma-cells = <2>;
pinctrl-names = "default";
- // pinctrl-0 = <&uart1_xfer>;
+ // pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
status = "disabled";
};
status = "disabled";
};
+ adc: adc@2006c000 {
+ compatible = "rockchip,saradc";
+ reg = <0x2006c000 0x100>;
+ interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+ #io-channel-cells = <1>;
+ io-channel-ranges;
+ rockchip,adc-vref = <1800>;
+ clock-frequency = <1000000>;
+ //clocks = <&clk_saradc>, <&clk_gates7 1>;
+ //clock-names = "saradc", "pclk_saradc";
+ status = "disabled";
+ };
+
pwm0: pwm@20050000 {
compatible = "rockchip,rk-pwm";
reg = <0x20050000 0x10>;