227 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			227 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0
 | 
						|
 | 
						|
#include "tegra234.dtsi"
 | 
						|
 | 
						|
/ {
 | 
						|
	compatible = "nvidia,p3701", "nvidia,tegra234";
 | 
						|
 | 
						|
	aliases {
 | 
						|
		mmc0 = "/bus@0/mmc@3460000";
 | 
						|
		mmc1 = "/bus@0/mmc@3400000";
 | 
						|
	};
 | 
						|
 | 
						|
	bus@0 {
 | 
						|
		aconnect@2900000 {
 | 
						|
			status = "okay";
 | 
						|
 | 
						|
			ahub@2900800 {
 | 
						|
				status = "okay";
 | 
						|
 | 
						|
				i2s@2901000 {
 | 
						|
					status = "okay";
 | 
						|
				};
 | 
						|
 | 
						|
				i2s@2901100 {
 | 
						|
					status = "okay";
 | 
						|
				};
 | 
						|
 | 
						|
				i2s@2901300 {
 | 
						|
					status = "okay";
 | 
						|
				};
 | 
						|
 | 
						|
				i2s@2901500 {
 | 
						|
					status = "okay";
 | 
						|
				};
 | 
						|
 | 
						|
				dmic@2904200 {
 | 
						|
					status = "okay";
 | 
						|
				};
 | 
						|
			};
 | 
						|
 | 
						|
			dma-controller@2930000 {
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
 | 
						|
			interrupt-controller@2a40000 {
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
		};
 | 
						|
 | 
						|
		i2c@3160000 {
 | 
						|
			status = "okay";
 | 
						|
 | 
						|
			eeprom@50 {
 | 
						|
				compatible = "atmel,24c02";
 | 
						|
				reg = <0x50>;
 | 
						|
 | 
						|
				label = "module";
 | 
						|
				vcc-supply = <&vdd_1v8_hs>;
 | 
						|
				address-width = <8>;
 | 
						|
				pagesize = <8>;
 | 
						|
				size = <256>;
 | 
						|
				read-only;
 | 
						|
			};
 | 
						|
		};
 | 
						|
 | 
						|
		spi@3270000 {
 | 
						|
			status = "okay";
 | 
						|
 | 
						|
			flash@0 {
 | 
						|
				compatible = "jedec,spi-nor";
 | 
						|
				reg = <0>;
 | 
						|
				spi-max-frequency = <102000000>;
 | 
						|
				spi-tx-bus-width = <4>;
 | 
						|
				spi-rx-bus-width = <4>;
 | 
						|
			};
 | 
						|
		};
 | 
						|
 | 
						|
		mmc@3460000 {
 | 
						|
			status = "okay";
 | 
						|
			bus-width = <8>;
 | 
						|
			non-removable;
 | 
						|
		};
 | 
						|
 | 
						|
		padctl@3520000 {
 | 
						|
			vclamp-usb-supply = <&vdd_1v8_ao>;
 | 
						|
			avdd-usb-supply = <&vdd_3v3_ao>;
 | 
						|
 | 
						|
			ports {
 | 
						|
				usb2-0 {
 | 
						|
					vbus-supply = <&vdd_5v0_sys>;
 | 
						|
				};
 | 
						|
 | 
						|
				usb2-1 {
 | 
						|
					vbus-supply = <&vdd_5v0_sys>;
 | 
						|
				};
 | 
						|
 | 
						|
				usb2-2 {
 | 
						|
					vbus-supply = <&vdd_5v0_sys>;
 | 
						|
				};
 | 
						|
 | 
						|
				usb2-3 {
 | 
						|
					vbus-supply = <&vdd_5v0_sys>;
 | 
						|
				};
 | 
						|
			};
 | 
						|
		};
 | 
						|
 | 
						|
		i2c@c240000 {
 | 
						|
			status = "okay";
 | 
						|
 | 
						|
			power-sensor@40 {
 | 
						|
				compatible = "ti,ina3221";
 | 
						|
				reg = <0x40>;
 | 
						|
				#address-cells = <1>;
 | 
						|
				#size-cells = <0>;
 | 
						|
 | 
						|
				input@0 {
 | 
						|
					reg = <0x0>;
 | 
						|
					label = "VDD_GPU_SOC";
 | 
						|
					shunt-resistor-micro-ohms = <2000>;
 | 
						|
				};
 | 
						|
 | 
						|
				input@1 {
 | 
						|
					reg = <0x1>;
 | 
						|
					label = "VDD_CPU_CV";
 | 
						|
					shunt-resistor-micro-ohms = <2000>;
 | 
						|
				};
 | 
						|
 | 
						|
				input@2 {
 | 
						|
					reg = <0x2>;
 | 
						|
					label = "VIN_SYS_5V0";
 | 
						|
					shunt-resistor-micro-ohms = <2000>;
 | 
						|
					ti,summation-disable;
 | 
						|
				};
 | 
						|
			};
 | 
						|
 | 
						|
			power-sensor@41 {
 | 
						|
				compatible = "ti,ina3221";
 | 
						|
				reg = <0x41>;
 | 
						|
				#address-cells = <1>;
 | 
						|
				#size-cells = <0>;
 | 
						|
 | 
						|
				input@0 {
 | 
						|
					reg = <0x0>;
 | 
						|
					status = "disabled";
 | 
						|
				};
 | 
						|
 | 
						|
				input@1 {
 | 
						|
					reg = <0x1>;
 | 
						|
					label = "VDDQ_VDD2_1V8AO";
 | 
						|
					shunt-resistor-micro-ohms = <2000>;
 | 
						|
				};
 | 
						|
 | 
						|
				input@2 {
 | 
						|
					reg = <0x2>;
 | 
						|
					status = "disabled";
 | 
						|
				};
 | 
						|
			};
 | 
						|
		};
 | 
						|
 | 
						|
		rtc@c2a0000 {
 | 
						|
			status = "okay";
 | 
						|
		};
 | 
						|
 | 
						|
		pmc@c360000 {
 | 
						|
			nvidia,invert-interrupt;
 | 
						|
		};
 | 
						|
	};
 | 
						|
 | 
						|
	bpmp {
 | 
						|
		i2c {
 | 
						|
			status = "okay";
 | 
						|
 | 
						|
			thermal-sensor@4c {
 | 
						|
				compatible = "ti,tmp451";
 | 
						|
				status = "okay";
 | 
						|
				reg = <0x4c>;
 | 
						|
				vcc-supply = <&vdd_1v8_ao>;
 | 
						|
			};
 | 
						|
		};
 | 
						|
 | 
						|
		thermal {
 | 
						|
			status = "okay";
 | 
						|
		};
 | 
						|
	};
 | 
						|
 | 
						|
	vdd_1v8_ao: regulator-vdd-1v8-ao {
 | 
						|
		compatible = "regulator-fixed";
 | 
						|
		regulator-name = "VDD_1V8_AO";
 | 
						|
		regulator-min-microvolt = <1800000>;
 | 
						|
		regulator-max-microvolt = <1800000>;
 | 
						|
		regulator-always-on;
 | 
						|
	};
 | 
						|
 | 
						|
	vdd_1v8_hs: regulator-vdd-1v8-hs {
 | 
						|
		compatible = "regulator-fixed";
 | 
						|
		regulator-name = "VDD_1V8_HS";
 | 
						|
		regulator-min-microvolt = <1800000>;
 | 
						|
		regulator-max-microvolt = <1800000>;
 | 
						|
		regulator-always-on;
 | 
						|
	};
 | 
						|
 | 
						|
	vdd_1v8_ls: regulator-vdd-1v8-ls {
 | 
						|
		compatible = "regulator-fixed";
 | 
						|
		regulator-name = "VDD_1V8_LS";
 | 
						|
		regulator-min-microvolt = <1800000>;
 | 
						|
		regulator-max-microvolt = <1800000>;
 | 
						|
		regulator-always-on;
 | 
						|
	};
 | 
						|
 | 
						|
	vdd_3v3_ao: regulator-vdd-3v3-ao {
 | 
						|
		compatible = "regulator-fixed";
 | 
						|
		regulator-name = "VDD_3V3_AO";
 | 
						|
		regulator-min-microvolt = <3300000>;
 | 
						|
		regulator-max-microvolt = <3300000>;
 | 
						|
		regulator-always-on;
 | 
						|
	};
 | 
						|
 | 
						|
	vdd_5v0_sys: regulator-vdd-5v0-sys {
 | 
						|
		compatible = "regulator-fixed";
 | 
						|
		regulator-name = "VIN_SYS_5V0";
 | 
						|
		regulator-min-microvolt = <5000000>;
 | 
						|
		regulator-max-microvolt = <5000000>;
 | 
						|
		regulator-always-on;
 | 
						|
		regulator-boot-on;
 | 
						|
	};
 | 
						|
};
 |