Add spidev driver node.
This spi and spi_dev node was applied to the mainline.
Refer to the patch below and apply it only to the spi_dev node.
[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi?h=v6.6&id=
74fb20c8f05df7a7ea5c98ca85a713758e0e59f6]
Change-Id: I05309739997f8bfbed61595e6fbc7e03e8944363
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
status = "okay";
};
+&spi0 {
+ spi_dev0: spi@0 {
+ compatible = "rohm,dh2228fv";
+ pl022,com-mode = <1>;
+ spi-max-frequency = <10000000>;
+ reg = <0>;
+ status = "okay";
+ };
+};
+
&pcie0 {
pinctrl-names = "default";
reset-gpios = <&sysgpio 26 GPIO_ACTIVE_LOW>;