Skip to content

Commit 76ce01e

Browse files
committed
[kernel] add spidev0.0/spidev0.1 when spi0 enable
Change-Id: Iecee45acd898311858dc039d4c68350e722a6a90 Reviewed-on: https://tp-biosrd-v02/gerrit/82157 Reviewed-by: Scorpio Chang(張志賢) <Scorpio_Chang@asus.com> Tested-by: Scorpio Chang(張志賢) <Scorpio_Chang@asus.com>
1 parent b4bc615 commit 76ce01e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

arch/arm/boot/dts/rk3288-miniarm.dts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,28 @@
634634
};
635635

636636

637+
&spi0 {
638+
status = "okay";
639+
max-freq = <50000000>;
640+
pinctrl-names = "default";
641+
pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
642+
#address-cells = <2>;
643+
644+
spidev@0 {
645+
compatible = "rockchip,spi_tinker";
646+
reg = <0>;
647+
spi-max-frequency = <50000000>;
648+
spi-cpha = <1>;
649+
};
650+
651+
spidev@1 {
652+
compatible = "rockchip,spi_tinker";
653+
reg = <1>;
654+
spi-max-frequency = <50000000>;
655+
spi-cpha = <1>;
656+
};
657+
};
658+
637659
&spi2 {
638660
status = "okay";
639661
max-freq = <50000000>;

0 commit comments

Comments
 (0)