Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

st7789v 1.14 inch display driver #1

Closed
miloserdev opened this issue Oct 14, 2023 · 1 comment
Closed

st7789v 1.14 inch display driver #1

miloserdev opened this issue Oct 14, 2023 · 1 comment

Comments

@miloserdev
Copy link
Owner

No description provided.

@miloserdev
Copy link
Owner Author

Added device to sun20i-d1-lichee-rv.dts and removed "PC5", "PC6" pins from spi0_pins in sun20i-d1.dtsi

&spi0 {
pinctrl-0 = <&spi0_pins>;
pinctrl-names = "default";
status = "okay";
num-cs = <1>;
panel@0 {
compatible = "sitronix,st7789v";
buswidth = <0x8>;
reg = <0>;
reset-gpios = <&pio 2 6 GPIO_ACTIVE_LOW>; /* PC6 /
dc-gpios = <&pio 2 5 GPIO_ACTIVE_HIGH>; /
PC5 /
led-gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /
PD18 */
spi-max-frequency = <32000000>;
// width = <135>;
// height = <240>;
txbuflen = <32768>;
spi-cpol;
spi-cpha;
rotate = <90>;
fps = <25>;
status = "okay";
debug = <0>;
};
};

@miloserdev miloserdev pinned this issue Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant