diff options
Diffstat (limited to 'dts/upstream/src/arm64/intel')
4 files changed, 149 insertions, 2 deletions
| diff --git a/dts/upstream/src/arm64/intel/socfpga_agilex.dtsi b/dts/upstream/src/arm64/intel/socfpga_agilex.dtsi index 1235ba5a986..c1e66db0f4c 100644 --- a/dts/upstream/src/arm64/intel/socfpga_agilex.dtsi +++ b/dts/upstream/src/arm64/intel/socfpga_agilex.dtsi @@ -114,16 +114,19 @@  		cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {  			#clock-cells = <0>;  			compatible = "fixed-clock"; +			clock-frequency = <200000000>;  		};  		cb_intosc_ls_clk: cb-intosc-ls-clk {  			#clock-cells = <0>;  			compatible = "fixed-clock"; +			clock-frequency = <400000000>;  		};  		f2s_free_clk: f2s-free-clk {  			#clock-cells = <0>;  			compatible = "fixed-clock"; +			clock-frequency = <100000000>;  		};  		osc1: osc1 { @@ -457,6 +460,8 @@  			reg-io-width = <4>;  			num-cs = <4>;  			clocks = <&clkmgr AGILEX_L4_MAIN_CLK>; +			dmas = <&pdma 16>, <&pdma 17>; +			dma-names = "tx", "rx";  			status = "disabled";  		}; @@ -471,6 +476,8 @@  			reg-io-width = <4>;  			num-cs = <4>;  			clocks = <&clkmgr AGILEX_L4_MAIN_CLK>; +			dmas = <&pdma 20>, <&pdma 21>; +			dma-names = "tx", "rx";  			status = "disabled";  		}; diff --git a/dts/upstream/src/arm64/intel/socfpga_agilex5.dtsi b/dts/upstream/src/arm64/intel/socfpga_agilex5.dtsi index 51c6e19e40b..7d9394a0430 100644 --- a/dts/upstream/src/arm64/intel/socfpga_agilex5.dtsi +++ b/dts/upstream/src/arm64/intel/socfpga_agilex5.dtsi @@ -222,9 +222,9 @@  			status = "disabled";  		}; -		gpio0: gpio@ffc03200 { +		gpio0: gpio@10c03200 {  			compatible = "snps,dw-apb-gpio"; -			reg = <0xffc03200 0x100>; +			reg = <0x10c03200 0x100>;  			#address-cells = <1>;  			#size-cells = <0>;  			resets = <&rst GPIO0_RESET>; diff --git a/dts/upstream/src/arm64/intel/socfpga_agilex5_socdk.dts b/dts/upstream/src/arm64/intel/socfpga_agilex5_socdk.dts index c533e5a3a61..d3b913b7902 100644 --- a/dts/upstream/src/arm64/intel/socfpga_agilex5_socdk.dts +++ b/dts/upstream/src/arm64/intel/socfpga_agilex5_socdk.dts @@ -15,6 +15,26 @@  	chosen {  		stdout-path = "serial0:115200n8";  	}; + +	leds { +		compatible = "gpio-leds"; + +		led-0 { +			label = "hps_led0"; +			gpios = <&porta 11 GPIO_ACTIVE_HIGH>; +		}; + +	}; + +	memory@80000000 { +		device_type = "memory"; +		/* We expect the bootloader to fill in the reg */ +		reg = <0x0 0x80000000 0x0 0x0>; +	}; +}; + +&gpio0 { +	status = "okay";  };  &gpio1 { @@ -25,6 +45,37 @@  	clock-frequency = <25000000>;  }; +&qspi { +	status = "okay"; +	flash@0 { +		compatible = "micron,mt25qu02g", "jedec,spi-nor"; +		reg = <0>; +		spi-max-frequency = <100000000>; +		m25p,fast-read; +		cdns,read-delay = <2>; +		cdns,tshsl-ns = <50>; +		cdns,tsd2d-ns = <50>; +		cdns,tchsh-ns = <4>; +		cdns,tslch-ns = <4>; + +		partitions { +			compatible = "fixed-partitions"; +			#address-cells = <1>; +			#size-cells = <1>; + +			qspi_boot: partition@0 { +				label = "u-boot"; +				reg = <0x0 0x04200000>; +			}; + +			root: partition@4200000 { +				label = "root"; +				reg = <0x04200000 0x0be00000>; +			}; +		}; +	}; +}; +  &uart0 {  	status = "okay";  }; diff --git a/dts/upstream/src/arm64/intel/socfpga_agilex5_socdk_nand.dts b/dts/upstream/src/arm64/intel/socfpga_agilex5_socdk_nand.dts new file mode 100644 index 00000000000..38a582ef86b --- /dev/null +++ b/dts/upstream/src/arm64/intel/socfpga_agilex5_socdk_nand.dts @@ -0,0 +1,89 @@ +// SPDX-License-Identifier:     GPL-2.0 +/* + * Copyright (C) 2025, Altera Corporation + */ +#include "socfpga_agilex5.dtsi" + +/ { +	model = "SoCFPGA Agilex5 SoCDK NAND daughter board"; +	compatible = "intel,socfpga-agilex5-socdk-nand", "intel,socfpga-agilex5"; + +	aliases { +		serial0 = &uart0; +	}; + +	chosen { +		stdout-path = "serial0:115200n8"; +	}; + +	leds { +		compatible = "gpio-leds"; +		led0 { +			label = "hps_led0"; +			gpios = <&porta 6 GPIO_ACTIVE_HIGH>; +		}; + +		led1 { +			label = "hps_led1"; +			gpios = <&porta 7 GPIO_ACTIVE_HIGH>; +		}; +	}; + +	memory@80000000 { +		device_type = "memory"; +		/* We expect the bootloader to fill in the reg */ +		reg = <0x0 0x80000000 0x0 0x0>; +	}; +}; + +&gpio0 { +	status = "okay"; +}; + +&gpio1 { +	status = "okay"; +}; + +&i2c0 { +	status = "okay"; +}; + +&i3c0 { +	status = "okay"; +}; + +&i3c1 { +	status = "okay"; +}; + +&nand { +	status = "okay"; + +	nand@0 { +		#address-cells = <1>; +		#size-cells = <1>; +		reg = <0>; +		nand-bus-width = <8>; + +		partition@0 { +			label = "u-boot"; +			reg = <0 0x200000>; +		}; +		partition@200000 { +			label = "root"; +			reg = <0x200000 0xffe00000>; +		}; +	}; +}; + +&osc1 { +	clock-frequency = <25000000>; +}; + +&uart0 { +	status = "okay"; +}; + +&watchdog0 { +	status = "okay"; +}; | 
