File tree Expand file tree Collapse file tree 8 files changed +83
-17
lines changed
ek_ra8d1_rtk7eka6m3b00001bu Expand file tree Collapse file tree 8 files changed +83
-17
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Renesas Electronics Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config SHIELD_EK_RA8D1_RTK7EKA6M3B00001BU
5
+ def_bool $(shields_list_contains,ek_ra8d1_rtk7eka6m3b00001bu)
Original file line number Diff line number Diff line change
1
+ .. _ek_ra8d1_rtk7eka6m3b00001bu :
2
+
3
+ EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter
4
+ ##############################################
5
+
6
+ Overview
7
+ ********
8
+
9
+ The EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter is an open-source hardware converter PCB that
10
+ adapts the EK-RA8D1 Parallel Graphics Expansion Port (J57) to the RTK7EKA6M3B00001BU display
11
+ shield.
12
+
13
+ .. figure :: img/top.webp
14
+ :align: center
15
+ :alt: EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter (top)
16
+ :width: 300
17
+
18
+ EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter (top)
19
+
20
+ .. figure :: img/bottom.webp
21
+ :align: center
22
+ :alt: EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter (bottom)
23
+ :width: 300
24
+
25
+ EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter (bottom)
26
+
27
+ Programming
28
+ ***********
29
+
30
+ Set ``--shield ek_ra8d1_rtk7eka6m3b00001bu `` when you invoke ``west build ``.
31
+ This shield is just a converter, so it is usually used with RTK7EKA6M3B00001BU shield.
32
+
33
+ For example,
34
+
35
+ .. zephyr-app-commands ::
36
+ :zephyr-app: tests/drivers/display/display_read_write
37
+ :board: ek_ra8d1
38
+ :shield: ek_ra8d1_rtk7eka6m3b00001bu,rtk7eka6m3b00001bu
39
+ :goals: build
40
+
41
+ References
42
+ **********
43
+ - `EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter `_
44
+
45
+ .. _EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter :
46
+ https://oshpark.com/shared_projects/pzfp0mCD
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Renesas Electronics Corporation
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ / {
8
+ lcd_expansion_rtk7eka6m3b00001bu: parallel-graphics-connector {
9
+ compatible = "renesas,ra-parallel-graphics-header";
10
+ #gpio-cells = <2>;
11
+ gpio-map-mask = <0xffffffff 0xffffffc0>;
12
+ gpio-map-pass-thru = <0 0x3f>;
13
+ gpio-map = <5 0 &ek_ra8d1_parallel_graphics_expansion 4 0>, /* IIC_SCL */
14
+ <21 0 &ek_ra8d1_parallel_graphics_expansion 2 0>, /* IIC_SDA */
15
+ <35 0 &ek_ra8d1_parallel_graphics_expansion 6 0>, /* DISP_RST */
16
+ <38 0 &ek_ra8d1_parallel_graphics_expansion 3 0>, /* DISP_INT */
17
+ <39 0 &ek_ra8d1_parallel_graphics_expansion 1 0>; /* DISP_BLEN */
18
+ };
19
+ };
Original file line number Diff line number Diff line change
1
+ shield :
2
+ name : ek_ra8d1_rtk7eka6m3b00001bu
3
+ full_name : EK-RA8D1 to RTK7EKA6M3B00001BU Display Adapter
4
+ vendor : renesas
5
+ supported_features :
6
+ - display
Original file line number Diff line number Diff line change 4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
6
6
7
- / {
8
- renesas_parallel_graphics_connector: parallel-graphics-connector {
9
- compatible = "renesas,ra-parallel-graphics-header";
10
- #gpio-cells = <2>;
11
- gpio-map-mask = <0xffffffff 0xffffffc0>;
12
- gpio-map-pass-thru = <0 0x3f>;
13
- gpio-map = <1 0 &ioport4 4 0>, /* DISP_BLEN */
14
- <2 0 &ioport5 11 0>, /* IIC_SDA */
15
- <3 0 &ioport5 10 0>, /* DISP_INT */
16
- <4 0 &ioport5 12 0>, /* IIC_SCL */
17
- <6 0 &ioporta 1 0>; /* DISP_RST */
18
- };
19
- };
20
-
21
7
&port_irq3 {
22
8
interrupts = <90 1>;
23
9
status = "okay";
Original file line number Diff line number Diff line change 15
15
compatible = "zephyr,lvgl-pointer-input";
16
16
input = <&ft5336_rtk7eka6m3b00001bu>;
17
17
};
18
+
19
+ lcd_expansion_rtk7eka6m3b00001bu: parallel-graphics-connector {
20
+ compatible = "renesas,ra-parallel-graphics-header";
21
+ };
18
22
};
19
23
20
24
&iic1 {
21
25
status = "okay";
22
26
ft5336_rtk7eka6m3b00001bu: ft5336-rtk7eka6m3b00001bu@38 {
23
27
compatible = "focaltech,ft5336";
24
28
reg = <0x38>;
25
- int-gpios = <&renesas_parallel_graphics_connector 3 GPIO_ACTIVE_HIGH>;
29
+ int-gpios = <&lcd_expansion_rtk7eka6m3b00001bu 38 GPIO_ACTIVE_HIGH>;
26
30
};
27
31
};
28
32
29
33
&zephyr_lcdif {
30
34
status = "okay";
31
35
width = <480>;
32
36
height = <272>;
33
- input-pixel-format = <PANEL_PIXEL_FORMAT_RGB_888 >;
37
+ input-pixel-format = <PANEL_PIXEL_FORMAT_RGB_565 >;
34
38
output-pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>;
35
39
display-timings {
36
40
compatible = "zephyr,panel-timing";
45
49
hfront-porch = <4>;
46
50
vfront-porch = <35>;
47
51
};
48
- backlight-gpios = <&renesas_parallel_graphics_connector 1 GPIO_ACTIVE_HIGH>;
52
+ backlight-gpios = <&lcd_expansion_rtk7eka6m3b00001bu 39 GPIO_ACTIVE_HIGH>;
49
53
};
You can’t perform that action at this time.
0 commit comments