]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: Add spi slave dts
authorLeilk Liu <leilk.liu@mediatek.com>
Fri, 28 Sep 2018 10:53:05 +0000 (18:53 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 28 Sep 2018 21:05:26 +0000 (23:05 +0200)
This patch adds MT2712 spi slave into device tree.

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt2712e.dtsi

index 75cc0f7cc088869f219d66da2fad2592acd5153e..ee627a7c7b45f585b3c5e05016684ff19b4f2857 100644 (file)
@@ -301,6 +301,17 @@ uart5: serial@1000f000 {
                status = "disabled";
        };
 
+       spis1: spi@10013000 {
+               compatible = "mediatek,mt2712-spi-slave";
+               reg = <0 0x10013000 0 0x100>;
+               interrupts = <GIC_SPI 283 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&infracfg CLK_INFRA_AO_SPI1>;
+               clock-names = "spi";
+               assigned-clocks = <&topckgen CLK_TOP_SPISLV_SEL>;
+               assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL1_D2>;
+               status = "disabled";
+       };
+
        apmixedsys: syscon@10209000 {
                compatible = "mediatek,mt2712-apmixedsys", "syscon";
                reg = <0 0x10209000 0 0x1000>;