mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
c890ecdbe9
dtc has new checks for I2C and SPI buses. Fix the warnings in node names and unit-addresses. arch/arm/boot/dts/at91-dvk_som60.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f0018000/eeprom@87: I2C bus unit address format error, expected "57" arch/arm/boot/dts/at91-dvk_som60.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f0018000/ft5426@56: I2C bus unit address format error, expected "38" arch/arm/boot/dts/at91-vinco.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f8024000/rtc@64: I2C bus unit address format error, expected "32" arch/arm/boot/dts/at91sam9260ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1" arch/arm/boot/dts/at91sam9g20ek_2mmc.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1" arch/arm/boot/dts/at91sam9g20ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1" arch/arm/boot/dts/at91sam9261ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/tsc2046@0: SPI bus unit address format error, expected "2" Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
91 lines
1.7 KiB
Plaintext
91 lines
1.7 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* at91-dvk_su60_somc_lcm.dtsi - Device Tree file for the DVK SOM60 LCD board
|
|
*
|
|
* Copyright (C) 2018 Laird,
|
|
* 2018 Ben Whitten <ben.whitten@lairdtech.com>
|
|
*
|
|
*/
|
|
|
|
/ {
|
|
backlight: backlight {
|
|
compatible = "pwm-backlight";
|
|
pwms = <&hlcdc_pwm 0 50000 0>;
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
default-brightness-level = <6>;
|
|
status = "okay";
|
|
};
|
|
|
|
panel: panel {
|
|
compatible = "winstar,wf70gtiagdng0", "innolux,at070tn92", "simple-panel";
|
|
backlight = <&backlight>;
|
|
power-supply = <&vcc_lcd_reg>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
port@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0>;
|
|
|
|
panel_input: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&hlcdc_panel_output>;
|
|
};
|
|
};
|
|
};
|
|
|
|
vcc_lcd_reg: fixedregulator_lcd {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "VCC LCM";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
board {
|
|
pinctrl_lcd_ctp_int: lcd_ctp_int {
|
|
atmel,pins =
|
|
<AT91_PIOC 28 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
|
|
ft5426@38 {
|
|
compatible = "focaltech,ft5426", "edt,edt-ft5406";
|
|
reg = <0x38>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_lcd_ctp_int>;
|
|
|
|
interrupt-parent = <&pioC>;
|
|
interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
touchscreen-size-x = <800>;
|
|
touchscreen-size-y = <480>;
|
|
};
|
|
};
|
|
|
|
&hlcdc {
|
|
status = "okay";
|
|
|
|
hlcdc-display-controller {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
|
|
|
|
port@0 {
|
|
hlcdc_panel_output: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&panel_input>;
|
|
};
|
|
};
|
|
};
|
|
};
|