forked from Qortal/Brooklyn
84ba5b15ac
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time. * Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic) * Update i2c sensor db * Fixed DRM broadcast over HDMI 2+ * Ease up DHCP security only to prevent Brooklyn blocking routers. * Add possibility to add extra memory for Cinnamon Desktop Release * Fix error message of Software Render mode on Cinnamon Desktop * Add proper offset for HD screens for pixel array *Fixed HDMI jitter for videocore4 GPU * Enable all radios (including Bluetooth)
94 lines
1.7 KiB
Plaintext
94 lines
1.7 KiB
Plaintext
/*
|
|
* Device Tree overlay for HY28A display
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
compatible = "brcm,bcm2835";
|
|
|
|
fragment@0 {
|
|
target = <&spi0>;
|
|
__overlay__ {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&spidev0>;
|
|
__overlay__ {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
fragment@2 {
|
|
target = <&spidev1>;
|
|
__overlay__ {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
fragment@3 {
|
|
target = <&gpio>;
|
|
__overlay__ {
|
|
hy28a_pins: hy28a_pins {
|
|
brcm,pins = <17 25 18>;
|
|
brcm,function = <0 1 1>; /* in out out */
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@4 {
|
|
target = <&spi0>;
|
|
__overlay__ {
|
|
/* needed to avoid dtc warning */
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
hy28a: hy28a@0{
|
|
compatible = "ilitek,ili9320";
|
|
reg = <0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&hy28a_pins>;
|
|
|
|
spi-max-frequency = <32000000>;
|
|
spi-cpol;
|
|
spi-cpha;
|
|
rotate = <270>;
|
|
bgr;
|
|
fps = <50>;
|
|
buswidth = <8>;
|
|
startbyte = <0x70>;
|
|
reset-gpios = <&gpio 25 1>;
|
|
led-gpios = <&gpio 18 1>;
|
|
debug = <0>;
|
|
};
|
|
|
|
hy28a_ts: hy28a-ts@1 {
|
|
compatible = "ti,ads7846";
|
|
reg = <1>;
|
|
|
|
spi-max-frequency = <2000000>;
|
|
interrupts = <17 2>; /* high-to-low edge triggered */
|
|
interrupt-parent = <&gpio>;
|
|
pendown-gpio = <&gpio 17 0>;
|
|
ti,x-plate-ohms = /bits/ 16 <100>;
|
|
ti,pressure-max = /bits/ 16 <255>;
|
|
};
|
|
};
|
|
};
|
|
__overrides__ {
|
|
speed = <&hy28a>,"spi-max-frequency:0";
|
|
rotate = <&hy28a>,"rotate:0";
|
|
fps = <&hy28a>,"fps:0";
|
|
debug = <&hy28a>,"debug:0";
|
|
xohms = <&hy28a_ts>,"ti,x-plate-ohms;0";
|
|
resetgpio = <&hy28a>,"reset-gpios:4",
|
|
<&hy28a_pins>, "brcm,pins:4";
|
|
ledgpio = <&hy28a>,"led-gpios:4",
|
|
<&hy28a_pins>, "brcm,pins:8";
|
|
};
|
|
};
|