mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
ARM: dts: rk3506: Add spi nodes
Change-Id: I05eed1a4be8ef58b0ccc5335d09080aa67ea424b Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
serial3 = &uart3;
|
||||
serial4 = &uart4;
|
||||
serial5 = &uart5;
|
||||
spi0 = &spi0;
|
||||
spi1 = &spi1;
|
||||
spi2 = &fspi;
|
||||
};
|
||||
|
||||
@@ -247,6 +249,36 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
spi0: spi@ff120000 {
|
||||
compatible = "rockchip,rk3506-spi", "rockchip,rk3066-spi";
|
||||
reg = <0xff120000 0x1000>;
|
||||
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&cru CLK_SPI0>, <&cru PCLK_SPI0>;
|
||||
clock-names = "spiclk", "apb_pclk";
|
||||
dmas = <&dmac0 0>, <&dmac0 1>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi0_csn0_pins &spi0_csn1_pins &spi0_clk_pins>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
spi1: spi@ff130000 {
|
||||
compatible = "rockchip,rk3506-spi", "rockchip,rk3066-spi";
|
||||
reg = <0xff130000 0x1000>;
|
||||
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&cru CLK_SPI1>, <&cru PCLK_SPI1>;
|
||||
clock-names = "spiclk", "apb_pclk";
|
||||
dmas = <&dmac0 2>, <&dmac0 3>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi1_csn0_pins &spi1_csn1_pins &spi1_clk_pins>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm1_8ch_0: pwm@ff170000 {
|
||||
compatible = "rockchip,rk3506-pwm", "rockchip,rk3576-pwm";
|
||||
reg = <0xff170000 0x200>;
|
||||
|
||||
Reference in New Issue
Block a user