Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: support display on stm32f746-disco board

Add support to Rocktech RK043FN48H display on stm32f746-disco board.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Dario Binacchi and committed by
Alexandre Torgue
10a970bc e4e72409

+44
+44
arch/arm/boot/dts/st/stm32f746-disco.dts
··· 61 61 reg = <0xC0000000 0x800000>; 62 62 }; 63 63 64 + reserved-memory { 65 + #address-cells = <1>; 66 + #size-cells = <1>; 67 + ranges; 68 + 69 + linux,cma { 70 + compatible = "shared-dma-pool"; 71 + no-map; 72 + size = <0x80000>; 73 + linux,dma-default; 74 + }; 75 + }; 76 + 64 77 aliases { 65 78 serial0 = &usart1; 66 79 }; ··· 98 85 regulator-name = "vcc_3v3"; 99 86 regulator-min-microvolt = <3300000>; 100 87 regulator-max-microvolt = <3300000>; 88 + }; 89 + 90 + backlight: backlight { 91 + compatible = "gpio-backlight"; 92 + gpios = <&gpiok 3 GPIO_ACTIVE_HIGH>; 93 + status = "okay"; 94 + }; 95 + 96 + panel_rgb: panel-rgb { 97 + compatible = "rocktech,rk043fn48h"; 98 + power-supply = <&vcc_3v3>; 99 + backlight = <&backlight>; 100 + enable-gpios = <&gpioi 12 GPIO_ACTIVE_HIGH>; 101 + status = "okay"; 102 + port { 103 + panel_in_rgb: endpoint { 104 + remote-endpoint = <&ltdc_out_rgb>; 105 + }; 106 + }; 101 107 }; 102 108 }; 103 109 ··· 145 113 interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 146 114 touchscreen-size-x = <480>; 147 115 touchscreen-size-y = <272>; 116 + }; 117 + }; 118 + 119 + &ltdc { 120 + pinctrl-0 = <&ltdc_pins_a>; 121 + pinctrl-names = "default"; 122 + status = "okay"; 123 + 124 + port { 125 + ltdc_out_rgb: endpoint { 126 + remote-endpoint = <&panel_in_rgb>; 127 + }; 148 128 }; 149 129 }; 150 130