mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +00:00

Bindings expect pin configuration nodes in pinctrl to match certain naming and not be part of another fake node: pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Drop the wrapping node and adjust the names to have "grp" prefix. Diff looks big but this should have no functional impact, use e.g. git show -w to view the diff. Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx6q-mba6 Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
131 lines
2.7 KiB
Plaintext
131 lines
2.7 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
//
|
|
// Copyright (C) 2019 Logic PD, Inc.
|
|
|
|
/dts-v1/;
|
|
#include "imx6q.dtsi"
|
|
#include "imx6-logicpd-som.dtsi"
|
|
#include "imx6-logicpd-baseboard.dtsi"
|
|
|
|
/ {
|
|
model = "Logic PD i.MX6QD SOM-M3";
|
|
compatible = "logicpd,imx6q-logicpd", "fsl,imx6q";
|
|
|
|
backlight: backlight-lvds {
|
|
compatible = "pwm-backlight";
|
|
pwms = <&pwm3 0 20000 0>;
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
default-brightness-level = <6>;
|
|
power-supply = <®_lcd>;
|
|
};
|
|
|
|
panel-lvds0 {
|
|
compatible = "okaya,rs800480t-7x0gp";
|
|
power-supply = <®_lcd_reset>;
|
|
backlight = <&backlight>;
|
|
|
|
port {
|
|
panel_in_lvds0: endpoint {
|
|
remote-endpoint = <&lvds0_out>;
|
|
};
|
|
};
|
|
};
|
|
|
|
reg_lcd: regulator-lcd {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_lcd_reg>;
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "lcd_panel_pwr";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&gpio4 17 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
vin-supply = <®_3v3>;
|
|
startup-delay-us = <500000>;
|
|
};
|
|
|
|
reg_lcd_reset: regulator-lcd-reset {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_lcd_reset>;
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "nLCD_RESET";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
vin-supply = <®_lcd>;
|
|
};
|
|
};
|
|
|
|
&clks {
|
|
assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
|
|
<&clks IMX6QDL_CLK_LDB_DI1_SEL>,
|
|
<&clks IMX6QDL_CLK_IPU1_DI0_PRE_SEL>,
|
|
<&clks IMX6QDL_CLK_IPU2_DI0_PRE_SEL>;
|
|
assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
|
|
<&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
|
|
<&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
|
|
<&clks IMX6QDL_CLK_PLL2_PFD2_396M>;
|
|
};
|
|
|
|
&hdmi {
|
|
ddc-i2c-bus = <&i2c3>;
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c1 {
|
|
touchscreen@26 {
|
|
compatible = "ilitek,ili2117";
|
|
reg = <0x26>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_touchscreen>;
|
|
interrupts-extended = <&gpio1 6 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
};
|
|
|
|
&ldb {
|
|
status = "okay";
|
|
|
|
lvds-channel@0 {
|
|
fsl,data-mapping = "spwg";
|
|
fsl,data-width = <24>;
|
|
status = "okay";
|
|
|
|
port@4 {
|
|
reg = <4>;
|
|
lvds0_out: endpoint {
|
|
remote-endpoint = <&panel_in_lvds0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
&pwm3 {
|
|
status = "okay";
|
|
};
|
|
|
|
®_hdmi {
|
|
regulator-always-on; /* Without this, the level shifter on HDMI doesn't turn on */
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl_lcd_reg: lcdreggrp {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_DI0_PIN15__GPIO4_IO17 0x100b0 /* R_LCD_PANEL_PWR */
|
|
>;
|
|
};
|
|
|
|
pinctrl_lcd_reset: lcdresetgrp {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x100b0 /* LCD_nRESET */
|
|
>;
|
|
};
|
|
|
|
pinctrl_touchscreen: touchscreengrp {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0 /* TOUCH_nPINTDAV */
|
|
>;
|
|
};
|
|
};
|