Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need help with dts file for LT7686 1024 x 600 SPI on Orange Pi 5

Featured Replies

Hello, please help me. I have been doing research these past five days on how I can create a dts file for the Levetop LT7686. This LCD has no D/C or RS pin, which means this LCD is 9-bit SPI TFT LCD. Any clue? I tried with this dts file:

 

/dts-v1/;
/plugin/;

/ {
        compatible = "rockchip,rk3588";

        fragment@0 {
                target = <&spi4>;
                __overlay__ {
                        status = "okay";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        cs-gpios = <&gpio1 52 0>;
                         
                        panel@0{
                                status = "okay";
                                compatible = "sitronix,st7789v";
                                reg = <0x00>;
                                spi-max-frequency = <16000000>;
                                txbuflen = <32768>;
                                rotate = <90>;
                                bgr = <0>;
                                fps = <30>;
                                buswidth = <8>
                                reset-gpios = <&gpio0 29 1>;
                                debug = <0>;
                                

                                init = <0x05 0xca
                                        0x07 0x8a
                                        0x09 0x8a
                                        0x06 0x66
                                        0x08 0x64
                                        0x0a 0x64
                                        ...  /* more init codes */>;
                        };
                };        
        };
};               

 

The dmesg output reminds me that I didn't set 'dc-gpios' and then fails the spi device registration, sometimes it says chipselect 1 is already in use.

 

Does anyone have any ideas?

Thanks in advance!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.