71 lines
		
	
	
		
			1023 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			1023 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 | |
| /*
 | |
|  * Copyright 2020-2022 Advanced Micro Devices, Inc.
 | |
|  */
 | |
| 
 | |
| &ahb_clk {
 | |
| 	clock-frequency = <400000000>;
 | |
| };
 | |
| 
 | |
| &emmc_clk {
 | |
| 	clock-frequency = <200000000>;
 | |
| };
 | |
| 
 | |
| &flash_clk {
 | |
| 	clock-frequency = <400000000>;
 | |
| };
 | |
| 
 | |
| &ref_clk {
 | |
| 	clock-frequency = <156250000>;
 | |
| };
 | |
| 
 | |
| &qspi {
 | |
| 	status = "okay";
 | |
| 
 | |
| 	flash0: flash@0 {
 | |
| 		compatible = "jedec,spi-nor";
 | |
| 		reg = <0>;
 | |
| 		spi-max-frequency = <40000000>;
 | |
| 		spi-rx-bus-width = <2>;
 | |
| 		m25p,fast-read;
 | |
| 		cdns,read-delay = <0>;
 | |
| 		cdns,tshsl-ns = <0>;
 | |
| 		cdns,tsd2d-ns = <0>;
 | |
| 		cdns,tchsh-ns = <0>;
 | |
| 		cdns,tslch-ns = <0>;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &gpio0 {
 | |
| 	status = "okay";
 | |
| };
 | |
| 
 | |
| &emmc {
 | |
| 	bus-width = <8>;
 | |
| 	cap-mmc-hw-reset;
 | |
| 	status = "okay";
 | |
| };
 | |
| 
 | |
| &wdt0 {
 | |
| 	status = "okay";
 | |
| };
 | |
| 
 | |
| &i2c0 {
 | |
| 	clock-frequency = <100000>;
 | |
| 	status = "okay";
 | |
| 
 | |
| 	rtc@51 {
 | |
| 		compatible = "nxp,pcf85263";
 | |
| 		reg = <0x51>;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &spi0 {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <0>;
 | |
| 	num-cs = <4>;
 | |
| 	cs-gpios = <0>, <0>, <&porta 1 GPIO_ACTIVE_LOW>,
 | |
| 		   <&porta 7 GPIO_ACTIVE_LOW>;
 | |
| 	status = "okay";
 | |
| };
 |