summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx8x_spidev_overlay.dts
blob: edfbbf3d2df9089a1cb49b7775443967363e4012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2020-2021 Toradex
 */

// SPI generic spidev device for Colibri iMX8X.

/dts-v1/;
/plugin/;

/ {
	compatible = "toradex,colibri-imx8x";
};

&lpspi2 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	spidev@0 {
		/* Use compatible "rohm,dh2228fv" to bind spidev driver */
		compatible = "rohm,dh2228fv";
		reg = <0>;
		spi-max-frequency = <10000000>;
	};
};