OSDN Git Service

riscv: dts: microchip: update peripherals in icicle kit device tree
authorConor Dooley <conor.dooley@microchip.com>
Mon, 14 Feb 2022 13:58:39 +0000 (13:58 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 10 Mar 2022 05:46:40 +0000 (21:46 -0800)
Assorted minor changes to the MPFS/Icicle kit device tree:

- enable mmuart4 instead of mmuart0
- remove sifive pdma
- split memory node to match updated fpga design
- move stdout path to serial1 to avoid collision with
        bootloader running on the e51

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi

index c51bd7c..dc5f351 100644 (file)
                serial1 = &mmuart1;
                serial2 = &mmuart2;
                serial3 = &mmuart3;
+               serial4 = &mmuart4;
        };
 
        chosen {
-               stdout-path = "serial0:115200n8";
+               stdout-path = "serial1:115200n8";
        };
 
        cpus {
                timebase-frequency = <RTCCLK_FREQ>;
        };
 
-       memory@80000000 {
+       ddrc_cache_lo: memory@80000000 {
                device_type = "memory";
-               reg = <0x0 0x80000000 0x0 0x40000000>;
+               reg = <0x0 0x80000000 0x0 0x2e000000>;
                clocks = <&clkcfg CLK_DDRC>;
+               status = "okay";
+       };
+
+       ddrc_cache_hi: memory@1000000000 {
+               device_type = "memory";
+               reg = <0x10 0x0 0x0 0x40000000>;
+               clocks = <&clkcfg CLK_DDRC>;
+               status = "okay";
        };
 };
 
        clock-frequency = <600000000>;
 };
 
-&mmuart0 {
-       status = "okay";
-};
-
 &mmuart1 {
        status = "okay";
 };
        status = "okay";
 };
 
+&mmuart4 {
+       status = "okay";
+};
+
 &mmc {
        status = "okay";
 
index 62bd000..5e7aaaf 100644 (file)
                                              <&cpu4_intc 3>, <&cpu4_intc 7>;
                };
 
-               dma@3000000 {
-                       compatible = "sifive,fu540-c000-pdma";
-                       reg = <0x0 0x3000000 0x0 0x8000>;
-                       interrupt-parent = <&plic>;
-                       interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>,
-                                    <30>;
-                       #dma-cells = <1>;
-               };
-
                plic: interrupt-controller@c000000 {
                        compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
                        reg = <0x0 0xc000000 0x0 0x4000000>;
                        interrupts = <90>;
                        current-speed = <115200>;
                        clocks = <&clkcfg CLK_MMUART0>;
-                       status = "disabled";
+                       status = "disabled"; /* Reserved for the HSS */
                };
 
                mmuart1: serial@20100000 {
                        status = "disabled";
                };
 
+               mmuart4: serial@20106000 {
+                       compatible = "ns16550a";
+                       reg = <0x0 0x20106000 0x0 0x400>;
+                       reg-io-width = <4>;
+                       reg-shift = <2>;
+                       interrupt-parent = <&plic>;
+                       interrupts = <94>;
+                       clocks = <&clkcfg CLK_MMUART4>;
+                       current-speed = <115200>;
+                       status = "disabled";
+               };
+
                /* Common node entry for emmc/sd */
                mmc: mmc@20008000 {
                        compatible = "microchip,mpfs-sd4hc", "cdns,sd4hc";