sharp-drm-driver-radxa-zero/sharp-drm.dts

63 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-05-17 12:45:14 -04:00
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
fragment@0 {
target = <&spi0>;
__overlay__ {
status = "okay";
spidev@0{
status = "disabled";
};
spidev@1{
status = "disabled";
};
};
};
fragment@1 {
2023-04-20 09:55:56 -04:00
target = <&spi0_pins>;
__overlay__ {
brcm,pins = <0x0a 0x0b>; /* skipping bcm9 MISO */
};
};
fragment@2 {
2018-05-17 12:45:14 -04:00
target = <&gpio>;
__overlay__ {
sharp_pins: sharp_pins {
2023-04-20 09:55:56 -04:00
brcm,pins = <23 22>;
2018-05-17 12:45:14 -04:00
brcm,function = <1 1>; /* out */
};
};
};
2023-04-20 09:55:56 -04:00
fragment@3 {
2018-05-17 12:45:14 -04:00
target = <&spi0>;
__overlay__ {
/* needed to avoid dtc warning */
#address-cells = <1>;
#size-cells = <0>;
2023-08-12 19:41:48 -04:00
sharp_drm: sharp_drm@0{
compatible = "sharp-drm";
2018-05-17 12:45:14 -04:00
reg = <0>;
pinctrl-names = "default";
pinctrl-0 = <&sharp_pins>;
vcom-gpios = <&gpio 23 0>;
disp-gpios = <&gpio 22 0>;
2018-05-17 12:45:14 -04:00
spi-cs-high = <1>;
2023-06-28 23:55:12 -04:00
spi-max-frequency = <8000000>;
2018-05-17 12:45:14 -04:00
buswidth = <8>;
debug = <0>;
};
};
};
2023-04-20 09:55:56 -04:00
};