Skip to content

Commit 6118d57

Browse files
jonhunterthierryreding
authored andcommitted
arm64: tegra: Populate Jetson AGX Orin EEPROMs
Populate the module and system EEPROMs on the Jetson AGX Orin platform. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 260e8d4 commit 6118d57

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@
77
compatible = "nvidia,p3701-0000", "nvidia,tegra234";
88

99
bus@0 {
10+
i2c@3160000 {
11+
status = "okay";
12+
13+
eeprom@50 {
14+
compatible = "atmel,24c02";
15+
reg = <0x50>;
16+
17+
label = "module";
18+
vcc-supply = <&vdd_1v8_hs>;
19+
address-width = <8>;
20+
pagesize = <8>;
21+
size = <256>;
22+
read-only;
23+
};
24+
};
25+
1026
spi@3270000 {
1127
status = "okay";
1228

@@ -81,6 +97,14 @@
8197
regulator-always-on;
8298
};
8399

100+
vdd_1v8_hs: regulator-vdd-1v8-hs {
101+
compatible = "regulator-fixed";
102+
regulator-name = "VDD_1V8_HS";
103+
regulator-min-microvolt = <1800000>;
104+
regulator-max-microvolt = <1800000>;
105+
regulator-always-on;
106+
};
107+
84108
vdd_1v8_ao: regulator-vdd-1v8-ao {
85109
compatible = "regulator-fixed";
86110
regulator-name = "VDD_1V8_AO";

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@
44
compatible = "nvidia,p3737-0000";
55

66
bus@0 {
7+
i2c@3160000 {
8+
status = "okay";
9+
10+
eeprom@56 {
11+
compatible = "atmel,24c02";
12+
reg = <0x56>;
13+
14+
label = "system";
15+
vcc-supply = <&vdd_1v8_sys>;
16+
address-width = <8>;
17+
pagesize = <8>;
18+
size = <256>;
19+
read-only;
20+
};
21+
};
22+
723
pwm@3280000 {
824
status = "okay";
925
};
@@ -16,4 +32,12 @@
1632
status = "okay";
1733
};
1834
};
35+
36+
vdd_1v8_sys: regulator-vdd-1v8-sys {
37+
compatible = "regulator-fixed";
38+
regulator-name = "VDD_1V8_SYS";
39+
regulator-min-microvolt = <1800000>;
40+
regulator-max-microvolt = <1800000>;
41+
regulator-always-on;
42+
};
1943
};

0 commit comments

Comments
 (0)