aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi')
-rw-r--r--roms/u-boot/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi74
1 files changed, 74 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi b/roms/u-boot/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi
new file mode 100644
index 000000000..d24f621cd
--- /dev/null
+++ b/roms/u-boot/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi
@@ -0,0 +1,74 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * U-Boot additions
+ *
+ * Copyright (C) 2012 Altera Corporation <www.altera.com>
+ * Copyright (c) 2018 Simon Goldschmidt
+ */
+
+#include "socfpga-common-u-boot.dtsi"
+
+/{
+ aliases {
+ spi0 = "/soc/spi@ff705000";
+ udc0 = &usb1;
+ };
+};
+
+&can0 {
+ status = "okay";
+};
+
+&watchdog0 {
+ status = "disabled";
+};
+
+&mmc {
+ u-boot,dm-pre-reloc;
+};
+
+&qspi {
+ u-boot,dm-pre-reloc;
+};
+
+&flash0 {
+ compatible = "n25q00", "jedec,spi-nor";
+ 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";
+};
+
+&i2c0 {
+ i2c-scl-falling-time-ns = <300>;
+};