mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-08 22:24:32 +00:00
72e0a0e1c7
Add the "u-boot,dm-pre-reloc" property to the "ti,tilcdc,panel" compatible node. In this way the video-uclass module can allocate the amount of memory needed to be assigned to the frame buffer. For boards that support Linux the property is added to the *-u-boot.dtsi file since it is a u-boot specific dt flag. Ran building tests with CONFIG_AM335X_LCD enabled and disabled for the following configurations: - brxre1_defconfig --> success - am335x_guardian_defconfig --> success - am335x_evm_defconfig --> success - da850evm_defconfig --> failure with CONFIG_AM335X_LCD enabled Enabling CONFIG_AM335X_LCD in da850evm_defconfig causes building errors even without applying the patch. The driver has never been enabled on the da850 and must be adapted for this platform. Signed-off-by: Dario Binacchi <dariobin@libero.it> Tested-by: Dario Binacchi <dariobin@libero.it> Reviewed-by: Felix Brack <fb@ltec.ch>
70 lines
851 B
Text
70 lines
851 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2018 EETS GmbH - https://www.eets.ch/
|
|
* Copyright (C) 2018 Robert Bosch Power Tools GmbH
|
|
*/
|
|
|
|
/ {
|
|
ocp {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
panel {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
&l4_wkup {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&mmc1 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&mmc1_pins {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&rtc {
|
|
clocks = <&l4_per_clkctrl AM3_CLKDIV32K_CLKCTRL 0>;
|
|
clock-names = "int-clk";
|
|
};
|
|
|
|
&scm {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&uart0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&uart0_pins {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&usb {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&usb_ctrl_mod {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&usb0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&usb0_phy {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&am33xx_pinmux {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
lcd0_pins: pinmux_lcd0_pins {
|
|
pinctrl-single,pins = <
|
|
AM33XX_IOPAD(0x908, PIN_OUTPUT_PULLUP | MUX_MODE7)
|
|
>;
|
|
};
|
|
};
|