参考网上其他芯片的配置教程 http://www.360doc.com/content/20/1028/21/18945873_942900893.shtml
我打开了FB_TFT_ST7789V和FB_TFT选项,dts里面修改&spi0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi0m0_cs0 &spi0m0_pins>;
st7789v@0 {
status = "okay";
compatible = "sitronix,st7789v";
reg = <0>;
spi-max-frequency = <48000000>;
bgr;
fps = <30>;
rotate = <90>;
buswidth = <8>;
dc-gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_LOW>;
};
};
/dev里面没有出现fb0。还要修改那里吗