Instantly share code, notes, and snippets.
Putty
GPIO
There was an error while loading. Please reload this page.
reference:
https://www.kernel.org/doc/Documentation/devicetree/bindings/display/panel/sitronix%2Cst7789v.txt https://github.com/notro/fbtft/wiki/fbtft_device#parameters
(color was inverted)
st7789_test.dts
/dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; st7789: st7789@0{ compatible = "sitronix,st7789v"; reg = <0>; pinctrl-names = "default"; pinctrl-0 = <&st7789_pins>; spi-max-frequency = <16000000>; rotate = <90>; bgr; spi-cpol; spi-cpha; fps = <33>; buswidth = <8>; dc-gpios = <&pio 0 12 0>; debug = <0>; }; }; }; fragment@1 { target = <&pio>; __overlay__ { st7789_pins: st7789_pins { pins = "PA12"; function = "gpio_out"; }; }; }; };
Sorry, something went wrong.
font-size
sudo dpkg-reconfigure console-setup Terminus 6x12
xorg openbox
sudo apt-get install xorg openbox
Ethernet
I just bought a Milk-V Duo board with HR91105A 5pinS
HR91105A 5pinS
gtogto/nanoPi-Duo2#2
56-RJ45-8p8c
reference:
https://www.kernel.org/doc/Documentation/devicetree/bindings/display/panel/sitronix%2Cst7789v.txt
https://github.com/notro/fbtft/wiki/fbtft_device#parameters
(color was inverted)
st7789_test.dts