Skip to content

Commit 391bf38

Browse files
Yankun Zhengrkhuangtao
authored andcommitted
ARM: dts: rockchip: rk3229-at-som.dtsi: add spi dev for user space
Change-Id: If552c8f07f43cc3e173c73687c0ff7d2ee6e946f Signed-off-by: Yankun Zheng <zyk@rock-chips.com>
1 parent a12aa9e commit 391bf38

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

arch/arm/boot/dts/rk3229-at-som.dtsi

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,22 @@
273273
};
274274

275275
&spi0 {
276+
status = "okay";
277+
max-freq = <48000000>;
276278
pinctrl-names = "default";
277279
pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0 &spi1_cs1>;
278-
status = "okay";
280+
281+
spi_slave@0 {
282+
compatible = "rockchip,spidev";
283+
reg = <0>;
284+
spi-max-frequency = <12000000>;
285+
};
286+
287+
spi_slave@1 {
288+
compatible = "rockchip,spidev";
289+
reg = <1>;
290+
spi-max-frequency = <12000000>;
291+
};
279292
};
280293

281294
&u2phy0 {

0 commit comments

Comments
 (0)