The J2 SPI controller bindings never allowed spi-max-frequency property in the controller node. Neither old spi-bus.txt bindings, nor new DT schema allows it. Linux driver does not parse that property from controller node, thus drop it from DTS as incorrect hardware description. The SPI child device has already the same property with the same value, so functionality should not be affected. Cc: Kousik Sanagavarapu <five231003@gmail.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Tested-by: Rob Landley <rob@landley.net> Link: https://lore.kernel.org/r/20240322064221.25776-1-krzysztof.kozlowski@linaro.org Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
97 lines
1.6 KiB
Text
97 lines
1.6 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
compatible = "jcore,j2-soc";
|
|
model = "J2 FPGA SoC on Mimas v2 board";
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
interrupt-parent = <&aic>;
|
|
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "jcore,j2";
|
|
reg = <0>;
|
|
clock-frequency = <50000000>;
|
|
d-cache-size = <8192>;
|
|
i-cache-size = <8192>;
|
|
d-cache-block-size = <16>;
|
|
i-cache-block-size = <16>;
|
|
};
|
|
};
|
|
|
|
memory@10000000 {
|
|
device_type = "memory";
|
|
reg = <0x10000000 0x4000000>;
|
|
};
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
spi0 = &spi0;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0";
|
|
};
|
|
|
|
soc@abcd0000 {
|
|
compatible = "simple-bus";
|
|
ranges = <0 0xabcd0000 0x100000>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
aic: interrupt-controller@200 {
|
|
compatible = "jcore,aic1";
|
|
reg = <0x200 0x10>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
cache-controller@c0 {
|
|
compatible = "jcore,cache";
|
|
reg = <0xc0 4>;
|
|
};
|
|
|
|
timer@200 {
|
|
compatible = "jcore,pit";
|
|
reg = <0x200 0x30>;
|
|
interrupts = <0x48>;
|
|
};
|
|
|
|
spi0: spi@40 {
|
|
compatible = "jcore,spi2";
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40 0x8>;
|
|
|
|
sdcard@0 {
|
|
compatible = "mmc-spi-slot";
|
|
reg = <0>;
|
|
spi-max-frequency = <25000000>;
|
|
voltage-ranges = <3200 3400>;
|
|
mode = <0>;
|
|
};
|
|
};
|
|
|
|
uart0: serial@100 {
|
|
clock-frequency = <125000000>;
|
|
compatible = "xlnx,xps-uartlite-1.00.a";
|
|
current-speed = <19200>;
|
|
xlnx,use-parity = <0>;
|
|
xlnx,data-bits = <8>;
|
|
device_type = "serial";
|
|
interrupts = <0x12>;
|
|
port-number = <0>;
|
|
reg = <0x100 0x10>;
|
|
};
|
|
};
|
|
};
|