forked from mirrors/linux
		
	 c40ad24254
			
		
	
	
		c40ad24254
		
	
	
	
	
		
			
			PXA25xx SoCs don't have a USB controller, so drop the node from the common pxa2xx.dtsi base file. Both pxa27x and pxa3xx have a dedicated node already anyway. While at it, unify the names for the nodes across all pxa platforms. Signed-off-by: Daniel Mack <daniel@zonque.org> Reported-by: Sergey Yanovich <ynvich@gmail.com> Link: https://patchwork.kernel.org/patch/8375421/ Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
		
			
				
	
	
		
			185 lines
		
	
	
	
		
			4.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			185 lines
		
	
	
	
		
			4.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0
 | |
| /* The pxa3xx skeleton simply augments the 2xx version */
 | |
| #include "pxa2xx.dtsi"
 | |
| #include "dt-bindings/clock/pxa-clock.h"
 | |
| 
 | |
| / {
 | |
| 	model = "Marvell PXA27x familiy SoC";
 | |
| 	compatible = "marvell,pxa27x";
 | |
| 
 | |
| 	pxabus {
 | |
| 		pdma: dma-controller@40000000 {
 | |
| 			compatible = "marvell,pdma-1.0";
 | |
| 			reg = <0x40000000 0x10000>;
 | |
| 			interrupts = <25>;
 | |
| 			#dma-channels = <32>;
 | |
| 			#dma-cells = <2>;
 | |
| 			#dma-requests = <75>;
 | |
| 			status = "okay";
 | |
| 		};
 | |
| 
 | |
| 		pxairq: interrupt-controller@40d00000 {
 | |
| 			marvell,intc-priority;
 | |
| 			marvell,intc-nr-irqs = <34>;
 | |
| 		};
 | |
| 
 | |
| 		pinctrl: pinctrl@40e00000 {
 | |
| 			reg = <0x40e00054 0x20 0x40e0000c 0xc 0x40e0010c 4
 | |
| 			       0x40f00020 0x10>;
 | |
| 			compatible = "marvell,pxa27x-pinctrl";
 | |
| 		};
 | |
| 
 | |
| 		gpio: gpio@40e00000 {
 | |
| 			compatible = "intel,pxa27x-gpio";
 | |
| 			gpio-ranges = <&pinctrl 0 0 128>;
 | |
| 			clocks = <&clks CLK_NONE>;
 | |
| 		};
 | |
| 
 | |
| 		usb0: usb@4c000000 {
 | |
| 			compatible = "marvell,pxa-ohci";
 | |
| 			reg = <0x4c000000 0x10000>;
 | |
| 			interrupts = <3>;
 | |
| 			clocks = <&clks CLK_USBHOST>;
 | |
| 			status = "disabled";
 | |
| 		};
 | |
| 
 | |
| 		pwm0: pwm@40b00000 {
 | |
| 			compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm";
 | |
| 			reg = <0x40b00000 0x10>;
 | |
| 			#pwm-cells = <1>;
 | |
| 			clocks = <&clks CLK_PWM0>;
 | |
| 		};
 | |
| 
 | |
| 		pwm1: pwm@40b00010 {
 | |
| 			compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm";
 | |
| 			reg = <0x40b00010 0x10>;
 | |
| 			#pwm-cells = <1>;
 | |
| 			clocks = <&clks CLK_PWM1>;
 | |
| 		};
 | |
| 
 | |
| 		pwm2: pwm@40c00000 {
 | |
| 			compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm";
 | |
| 			reg = <0x40c00000 0x10>;
 | |
| 			#pwm-cells = <1>;
 | |
| 			clocks = <&clks CLK_PWM0>;
 | |
| 		};
 | |
| 
 | |
| 		pwm3: pwm@40c00010 {
 | |
| 			compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm";
 | |
| 			reg = <0x40c00010 0x10>;
 | |
| 			#pwm-cells = <1>;
 | |
| 			clocks = <&clks CLK_PWM1>;
 | |
| 		};
 | |
| 
 | |
| 		pwri2c: i2c@40f00180 {
 | |
| 			compatible = "mrvl,pxa-i2c";
 | |
| 			reg = <0x40f00180 0x24>;
 | |
| 			interrupts = <6>;
 | |
| 			clocks = <&clks CLK_PWRI2C>;
 | |
| 			#address-cells = <0x1>;
 | |
| 			#size-cells = <0>;
 | |
| 			status = "disabled";
 | |
| 		};
 | |
| 
 | |
| 		pxa27x_udc: udc@40600000 {
 | |
| 			compatible = "marvell,pxa270-udc";
 | |
| 			reg = <0x40600000 0x10000>;
 | |
| 			interrupts = <11>;
 | |
| 			clocks = <&clks CLK_USB>;
 | |
| 			status = "disabled";
 | |
| 		};
 | |
| 
 | |
| 		keypad: keypad@41500000 {
 | |
| 			compatible = "marvell,pxa27x-keypad";
 | |
| 			reg = <0x41500000 0x4c>;
 | |
| 			interrupts = <4>;
 | |
| 			clocks = <&clks CLK_KEYPAD>;
 | |
| 			status = "disabled";
 | |
| 		};
 | |
| 
 | |
| 		pxa_camera: imaging@50000000 {
 | |
| 			compatible = "marvell,pxa270-qci";
 | |
| 			reg = <0x50000000 0x1000>;
 | |
| 			interrupts = <33>;
 | |
| 			dmas = <&pdma 68 0	/* Y channel */
 | |
| 				&pdma 69 0	/* U channel */
 | |
| 				&pdma 70 0>;	/* V channel */
 | |
| 			dma-names = "CI_Y", "CI_U", "CI_V";
 | |
| 
 | |
| 			clocks = <&clks CLK_CAMERA>;
 | |
| 			clock-names = "ciclk";
 | |
| 			clock-frequency = <5000000>;
 | |
| 			clock-output-names = "qci_mclk";
 | |
| 
 | |
| 			status = "disabled";
 | |
| 		};
 | |
| 
 | |
| 		rtc@40900000 {
 | |
| 			clocks = <&clks CLK_OSC32k768>;
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	clocks {
 | |
| 	       /*
 | |
| 		* The muxing of external clocks/internal dividers for osc* clock
 | |
| 		* sources has been hidden under the carpet by now.
 | |
| 		*/
 | |
| 		#address-cells = <1>;
 | |
| 		#size-cells = <1>;
 | |
| 		ranges;
 | |
| 
 | |
| 		clks: pxa2xx_clks@41300004 {
 | |
| 			compatible = "marvell,pxa270-clocks";
 | |
| 			#clock-cells = <1>;
 | |
| 			status = "okay";
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	timer@40a00000 {
 | |
| 		compatible = "marvell,pxa-timer";
 | |
| 		reg = <0x40a00000 0x20>;
 | |
| 		interrupts = <26>;
 | |
| 		clocks = <&clks CLK_OSTIMER>;
 | |
| 		status = "okay";
 | |
| 	};
 | |
| 
 | |
| 	pxa270_opp_table: opp_table0 {
 | |
| 		compatible = "operating-points-v2";
 | |
| 
 | |
| 		opp-104000000 {
 | |
| 			opp-hz = /bits/ 64 <104000000>;
 | |
| 			opp-microvolt = <900000 900000 1705000>;
 | |
| 			clock-latency-ns = <20>;
 | |
| 		};
 | |
| 		opp-156000000 {
 | |
| 			opp-hz = /bits/ 64 <156000000>;
 | |
| 			opp-microvolt = <1000000 1000000 1705000>;
 | |
| 			clock-latency-ns = <20>;
 | |
| 		};
 | |
| 		opp-208000000 {
 | |
| 			opp-hz = /bits/ 64 <208000000>;
 | |
| 			opp-microvolt = <1180000 1180000 1705000>;
 | |
| 			clock-latency-ns = <20>;
 | |
| 		};
 | |
| 		opp-312000000 {
 | |
| 			opp-hz = /bits/ 64 <312000000>;
 | |
| 			opp-microvolt = <1250000 1250000 1705000>;
 | |
| 			clock-latency-ns = <20>;
 | |
| 		};
 | |
| 		opp-416000000 {
 | |
| 			opp-hz = /bits/ 64 <416000000>;
 | |
| 			opp-microvolt = <1350000 1350000 1705000>;
 | |
| 			clock-latency-ns = <20>;
 | |
| 		};
 | |
| 		opp-520000000 {
 | |
| 			opp-hz = /bits/ 64 <520000000>;
 | |
| 			opp-microvolt = <1450000 1450000 1705000>;
 | |
| 			clock-latency-ns = <20>;
 | |
| 		};
 | |
| 		opp-624000000 {
 | |
| 			opp-hz = /bits/ 64 <624000000>;
 | |
| 			opp-microvolt = <1550000 1550000 1705000>;
 | |
| 			clock-latency-ns = <20>;
 | |
| 		};
 | |
| 	};
 | |
| };
 |