Skip to content

Commit 50e859f

Browse files
committed
i.MX arm64 device tree change for 6.14: - Add simple-framebuffer support for imx8mn-bsh-smm-s2/pro board (Dario Binacchi) - Add LVDS compatible string for imx8mm-phg board (Fabio Estevam) - Add P3T1085 temperature sensor support for imx93-9x9-qsb board (Frank Li) - Add support for i.MX8MP based aristainetos3 boards from ABB (Heiko Schocher) - Add PCA9452 system PMIC support for imx93-14x14-evk board (Joy Zou) - Support NXP LVDS to HDMI adapter cards for imx8mp-evk board with DT overlays (Liu Ying) - A couple of changes from Markus Niebel to enable Open Drain for MDIO on imx93-tqma9352 boards - A series from Peng Fan to enable wdog3 fsl,ext-reset-output support for NXP i.MX93 boards - A couple changes from Wei Fang to add NETC support for i.MX95 * tag 'imx-dt64-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: freescale: imx93-9x9-qsb: enable fsl,ext-reset-output for wdog3 arm64: dts: freescale: imx93-14x14-evk: enable fsl,ext-reset-output for wdog3 arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3 arm64: dts: imx95-19x19-evk: add ENETC 0 support arm64: dts: imx95: add NETC related nodes arm64: dts: imx8mm-phg: Add LVDS compatible string arm64: dts: imx93: add pca9452 support arm64: dts: imx8mn-bsh-smm-s2/pro: add simple-framebuffer arm64: dts: imx93-tqma9352-mba93xxla: enable Open Drain for MDIO arm64: dts: imx93-tqma9352-mba93xxca: enable Open Drain for MDIO arm64: dts: imx93-9x9-qsb: add temp-sensor nxp,p3t1085 arm64: dts: imx8mp-evk: Add NXP LVDS to HDMI adapter cards arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Set "media_disp2_pix" clock rate to 70MHz arm64: dts: imx8mp: add aristainetos3 board support arm64: dts: imx8mq-zii-ultra: remove #address-cells of eeprom@a4 arm64: dts: imx: Switch to simple-audio-card,hp-det-gpios Link: https://lore.kernel.org/r/20250105095139.714590-4-shawnguo2@yeah.net Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents baba9e1 + bd38fa3 commit 50e859f

27 files changed

Lines changed: 2096 additions & 17 deletions

arch/arm64/boot/dts/freescale/Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ imx8mn-tqma8mqnl-mba8mx-usbotg-dtbs += imx8mn-tqma8mqnl-mba8mx.dtb imx8mn-tqma8m
165165
dtb-$(CONFIG_ARCH_MXC) += imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtb
166166
dtb-$(CONFIG_ARCH_MXC) += imx8mn-tqma8mqnl-mba8mx-usbotg.dtb
167167

168+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-aristainetos3-adpismarc.dtb
169+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-aristainetos3-helios.dtb
170+
imx8mp-aristainetos3-helios-lvds-dtbs += imx8mp-aristainetos3-helios.dtb imx8mp-aristainetos3-helios-lvds.dtbo
171+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-aristainetos3-helios-lvds.dtb
172+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-aristainetos3-proton2s.dtb
168173
dtb-$(CONFIG_ARCH_MXC) += imx8mp-beacon-kit.dtb
169174
dtb-$(CONFIG_ARCH_MXC) += imx8mp-data-modul-edm-sbc.dtb
170175
dtb-$(CONFIG_ARCH_MXC) += imx8mp-debix-model-a.dtb
@@ -211,8 +216,16 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-verdin-wifi-ivy.dtb
211216
dtb-$(CONFIG_ARCH_MXC) += imx8mp-verdin-wifi-mallow.dtb
212217
dtb-$(CONFIG_ARCH_MXC) += imx8mp-verdin-wifi-yavia.dtb
213218

219+
imx8mp-evk-lvds0-imx-dlvds-hdmi-channel0-dtbs += imx8mp-evk.dtb imx8mp-evk-lvds0-imx-dlvds-hdmi-channel0.dtbo
220+
imx8mp-evk-lvds0-imx-lvds-hdmi-dtbs += imx8mp-evk.dtb imx8mp-evk-lvds0-imx-lvds-hdmi.dtbo
221+
imx8mp-evk-lvds1-imx-dlvds-hdmi-channel0-dtbs += imx8mp-evk.dtb imx8mp-evk-lvds1-imx-dlvds-hdmi-channel0.dtbo
222+
imx8mp-evk-lvds1-imx-lvds-hdmi-dtbs += imx8mp-evk.dtb imx8mp-evk-lvds1-imx-lvds-hdmi.dtbo
214223
imx8mp-evk-mx8-dlvds-lcd1-dtbs += imx8mp-evk.dtb imx8mp-evk-mx8-dlvds-lcd1.dtbo
215224
imx8mp-evk-pcie-ep-dtbs += imx8mp-evk.dtb imx8mp-evk-pcie-ep.dtbo
225+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk-lvds0-imx-dlvds-hdmi-channel0.dtb
226+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk-lvds0-imx-lvds-hdmi.dtb
227+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk-lvds1-imx-dlvds-hdmi-channel0.dtb
228+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk-lvds1-imx-lvds-hdmi.dtb
216229
dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk-mx8-dlvds-lcd1.dtb
217230
dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk-pcie-ep.dtb
218231

arch/arm64/boot/dts/freescale/imx8mm-phg.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
};
8383

8484
panel {
85-
compatible = "panel-lvds";
85+
compatible = "auo,g084sn05", "panel-lvds";
8686
width-mm = <170>;
8787
height-mm = <28>;
8888
data-mapping = "jeida-18";

arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@
44
*/
55

66
/ {
7+
chosen {
8+
#address-cells = <2>;
9+
#size-cells = <2>;
10+
ranges;
11+
12+
framebuffer-panel0 {
13+
compatible = "simple-framebuffer";
14+
clocks = <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>, /* lcdif */
15+
<&clk IMX8MN_CLK_DISP_APB_ROOT>,
16+
<&clk IMX8MN_CLK_DISP_AXI_ROOT>,
17+
<&clk IMX8MN_VIDEO_PLL1>,
18+
<&clk IMX8MN_CLK_DISP_AXI_ROOT>, /* pgc_dispmix */
19+
<&clk IMX8MN_CLK_DISP_APB_ROOT>,
20+
<&clk IMX8MN_CLK_DISP_AXI>,
21+
<&clk IMX8MN_CLK_DISP_APB>,
22+
<&clk IMX8MN_SYS_PLL2_1000M>,
23+
<&clk IMX8MN_SYS_PLL1_800M>,
24+
<&clk IMX8MN_CLK_DSI_CORE>, /* mipi_disi */
25+
<&clk IMX8MN_CLK_DSI_PHY_REF>;
26+
27+
power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_LCDIF>,
28+
<&disp_blk_ctrl IMX8MN_DISPBLK_PD_MIPI_DSI>;
29+
dvdd-supply = <&reg_3v3_dvdd>;
30+
avdd-supply = <&reg_v3v3_avdd>;
31+
status = "disabled";
32+
};
33+
};
34+
735
backlight: backlight {
836
compatible = "pwm-backlight";
937
pwms = <&pwm1 0 700000 0>; /* 700000 ns = 1337Hz */
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (C) 2024 Heiko Schocher <hs@denx.de>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include <dt-bindings/gpio/gpio.h>
9+
#include <dt-bindings/interrupt-controller/irq.h>
10+
#include "imx8mp-aristainetos3a-som-v1.dtsi"
11+
12+
&{/} {
13+
model = "Aristainetos3 ADLink PI SMARC carrier";
14+
compatible = "abb,imx8mp-aristanetos3-adpismarc",
15+
"abb,imx8mp-aristanetos3-som",
16+
"fsl,imx8mp";
17+
};
18+
19+
&flexcan1 {
20+
status = "okay";
21+
};
22+
23+
&i2c2 {
24+
gpio8: pinctrl@3e {
25+
compatible = "semtech,sx1509q";
26+
reg = <0x3e>;
27+
28+
#gpio-cells = <2>;
29+
#interrupt-cells = <2>;
30+
semtech,probe-reset;
31+
gpio-controller;
32+
interrupt-controller;
33+
interrupt-parent = <&gpio6>;
34+
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
35+
};
36+
37+
};
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (C) 2024 Heiko Schocher <hs@denx.de>
4+
*/
5+
#include <dt-bindings/gpio/gpio.h>
6+
#include <dt-bindings/input/input.h>
7+
#include <dt-bindings/interrupt-controller/arm-gic.h>
8+
#include <dt-bindings/pwm/pwm.h>
9+
10+
/dts-v1/;
11+
/plugin/;
12+
13+
&{/} {
14+
model = "Aristainetos3 helios carrier with LVDS";
15+
compatible = "abb,imx8mp-aristanetos3-helios",
16+
"abb,imx8mp-aristanetos3-som",
17+
"fsl,imx8mp";
18+
19+
panel_lvds: panel-lvds {
20+
compatible = "lg,lb070wv8";
21+
power-supply = <&reg_vcc_disp>;
22+
backlight = <&lvds_backlight>;
23+
24+
port {
25+
in_lvds0: endpoint {
26+
remote-endpoint = <&ldb_lvds_ch0>;
27+
};
28+
};
29+
};
30+
31+
reg_vcc_disp: regulator-disp {
32+
pinctrl-names = "default";
33+
pinctrl-0 = <&pinctrl_lcd0_vcc_en>;
34+
compatible = "regulator-fixed";
35+
regulator-name = "disp_power_en_2v8";
36+
regulator-min-microvolt = <2800000>;
37+
regulator-max-microvolt = <2800000>;
38+
gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>;
39+
enable-active-high;
40+
regulator-boot-on;
41+
regulator-always-on;
42+
};
43+
};
44+
45+
&gpio3 {
46+
pinctrl-names = "default";
47+
pinctrl-0 = <&pinctrl_gpio3_hog>;
48+
49+
lvdssel-hog {
50+
gpio-hog;
51+
gpios = <23 GPIO_ACTIVE_HIGH>;
52+
output-low;
53+
line-name = "LVDSSEL";
54+
};
55+
};
56+
57+
&hdmi_blk_ctrl {
58+
status = "disabled";
59+
};
60+
61+
&hdmi_pvi {
62+
status = "disabled";
63+
};
64+
65+
&hdmi_tx {
66+
status = "disabled";
67+
};
68+
69+
&hdmi_tx_phy {
70+
status = "disabled";
71+
};
72+
73+
&irqsteer_hdmi {
74+
status = "disabled";
75+
};
76+
77+
&ldb_lvds_ch0 {
78+
remote-endpoint = <&in_lvds0>;
79+
};
80+
81+
&lcdif1 {
82+
status = "disabled";
83+
};
84+
85+
&lcdif2 {
86+
status = "okay";
87+
};
88+
89+
&lcdif3 {
90+
status = "disabled";
91+
};
92+
93+
&lvds_backlight {
94+
status = "okay";
95+
};
96+
97+
&lvds_bridge {
98+
/* IMX8MP_CLK_MEDIA_LDB = IMX8MP_CLK_MEDIA_DISP2_PIX * 7 */
99+
assigned-clock-rates = <232820000>;
100+
status = "okay";
101+
};
102+
103+
&media_blk_ctrl {
104+
/*
105+
* currently it is not possible to let display clocks configure
106+
* automatically, so we need to set them manually
107+
*/
108+
assigned-clock-rates = <500000000>, <200000000>, <0>,
109+
/* IMX8MP_CLK_MEDIA_DISP2_PIX = pixelclk of lvds panel */
110+
<33260000>, <0>,
111+
/* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_LDB * 2 */
112+
<465640000>;
113+
};
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (C) 2024 Heiko Schocher <hs@denx.de>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include <dt-bindings/leds/common.h>
9+
#include <dt-bindings/gpio/gpio.h>
10+
#include "imx8mp-aristainetos3a-som-v1.dtsi"
11+
12+
&{/} {
13+
model = "Aristainetos3 helios carrier";
14+
compatible = "abb,imx8mp-aristanetos3-helios",
15+
"abb,imx8mp-aristanetos3-som",
16+
"fsl,imx8mp";
17+
18+
led-controller {
19+
compatible = "gpio-leds";
20+
21+
led-0 {
22+
function = LED_FUNCTION_STATUS;
23+
color = <LED_COLOR_ID_RED>;
24+
function-enumerator = <20>;
25+
gpios = <&pca6416 12 GPIO_ACTIVE_LOW>;
26+
default-state = "off";
27+
};
28+
29+
led-1 {
30+
function = LED_FUNCTION_STATUS;
31+
color = <LED_COLOR_ID_YELLOW>;
32+
function-enumerator = <20>;
33+
gpios = <&pca6416 13 GPIO_ACTIVE_LOW>;
34+
default-state = "off";
35+
};
36+
37+
led-2 {
38+
function = LED_FUNCTION_STATUS;
39+
color = <LED_COLOR_ID_GREEN>;
40+
function-enumerator = <20>;
41+
gpios = <&pca6416 14 GPIO_ACTIVE_LOW>;
42+
default-state = "off";
43+
};
44+
45+
led-3 {
46+
function = LED_FUNCTION_STATUS;
47+
color = <LED_COLOR_ID_BLUE>;
48+
function-enumerator = <20>;
49+
gpios = <&pca6416 15 GPIO_ACTIVE_LOW>;
50+
default-state = "off";
51+
};
52+
};
53+
};
54+
55+
&ethphy1 {
56+
status = "disabled";
57+
};
58+
59+
&fec {
60+
status = "disabled";
61+
};
62+
63+
&i2c1 {
64+
eeprom@57 {
65+
compatible = "atmel,24c64";
66+
reg = <0x57>;
67+
};
68+
};
69+
70+
&i2c3 {
71+
pca6416: gpio@20 {
72+
compatible = "ti,tca6416";
73+
reg = <0x20>;
74+
gpio-controller;
75+
#gpio-cells = <2>;
76+
gpio-line-names = "DIN0_CON",
77+
"DIN1_CON",
78+
"DIN2_CON",
79+
"DIN3_CON",
80+
"DIN4_CON",
81+
"DIN5_CON",
82+
"DIN6_CON",
83+
"DIN7_CON",
84+
"PM102_RES",
85+
"COMx_RES",
86+
"BPL_RES",
87+
"PC_RES",
88+
"LED_RED",
89+
"LED_YELLOW",
90+
"LED_GREEN",
91+
"LED_BLUE";
92+
};
93+
94+
rtc@68 {
95+
compatible = "st,m41t00";
96+
reg = <0x68>;
97+
};
98+
};

0 commit comments

Comments
 (0)