mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-08 14:14:32 +00:00
c402e81702
Add -u-boot.dtsi files to keep the current U-Boot behaviour: - add u-boot,dm-pre-reloc where required - disable watchdog - set uart clock frequency - add gpio bank-name properties where appropriate: - make qspi work (add alias for spi0, fix compatible for flash) - enable usb (status okay, add alias for udc0) Adapt board dts files that are not in Linux to keep their old behaviour. Change licenses to SPDX. (Patman warnings/errors are in 1:1 copied files from Linux) Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
72 lines
930 B
Text
72 lines
930 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* U-Boot additions
|
|
*
|
|
* Copyright (C) 2012 Altera Corporation <www.altera.com>
|
|
* Copyright (c) 2018 Simon Goldschmidt
|
|
*/
|
|
|
|
/{
|
|
aliases {
|
|
spi0 = "/soc/spi@ff705000";
|
|
udc0 = &usb1;
|
|
};
|
|
|
|
soc {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
&can0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&watchdog0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mmc {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&qspi {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&flash0 {
|
|
compatible = "n25q00", "spi-flash";
|
|
u-boot,dm-pre-reloc;
|
|
|
|
partition@qspi-boot {
|
|
/* 8MB for raw data. */
|
|
label = "Flash 0 Raw Data";
|
|
reg = <0x0 0x800000>;
|
|
};
|
|
|
|
partition@qspi-rootfs {
|
|
/* 120MB for jffs2 data. */
|
|
label = "Flash 0 jffs2 Filesystem";
|
|
reg = <0x800000 0x7800000>;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
clock-frequency = <100000000>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&uart1 {
|
|
clock-frequency = <100000000>;
|
|
};
|
|
|
|
&porta {
|
|
bank-name = "porta";
|
|
};
|
|
|
|
&portb {
|
|
bank-name = "portb";
|
|
};
|
|
|
|
&portc {
|
|
bank-name = "portc";
|
|
};
|