Skip to content

Commit 2798273

Browse files
6by9JamesH65
authored andcommitted
Update minimal-cm-dt-blob.dts for CM3 (raspberrypi#812)
It was slightly too cut down (copy/pasted from CM1), and could result in an unstable system due to no SMPS control. Copy/paste in the required bits from the main dt-blob.dts
1 parent cae1c56 commit 2798273

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

hardware/computemodule/minimal-cm-dt-blob.dts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,22 +156,28 @@
156156
pin@p45 { function = "input"; termination = "pull_down"; }; // DEFAULT STATE WAS INPUT NO PULL
157157

158158
// BANK 2 - DON'T TOUCH UNLESS YOU KNOW WHAT YOU'RE DOING //
159-
pin@p46 { function = "input"; termination = "no_pulling"; drive_strength_mA = <8>; polarity = "active_high"; }; // HPD_N
160-
pin@p47 { function = "output"; termination = "no_pulling"; drive_strength_mA = <8>; polarity = "active_low"; startup_state = "active"; }; // STATUS LED / EMMC_DISABLE_N CONTROL
159+
pin@p46 { function = "input"; termination = "pull_up"; }; // SMPS_SCL
160+
pin@p47 { function = "input"; termination = "pull_up"; }; // SMPS_SDA
161161
pin@p48 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD CLK
162162
pin@p49 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD CMD
163163
pin@p50 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D0
164164
pin@p51 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D1
165165
pin@p52 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D2
166166
pin@p53 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D3
167167

168+
pin@p128 { function = "input"; termination = "no_pulling"; polarity = "active_low"; }; // Hotplug
169+
pin@p129 { function = "output"; termination = "no_pulling"; polarity = "active_low"; }; // EMMC_ENABLE_N
168170
}; // pin_config
169171

170172
pin_defines {
171-
pin_define@HDMI_CONTROL_ATTACHED { type = "internal"; number = <46>; }; // HPD_N on GPIO46
173+
pin_define@HDMI_CONTROL_ATTACHED { type = "external"; number = <0>; };
174+
pin_define@EMMC_ENABLE { type = "external"; number = <1>; };
175+
pin_define@SMPS_SDA { type = "internal"; number = <46>; };
176+
pin_define@SMPS_SCL { type = "internal"; number = <47>; };
172177
}; // pin_defines
173178

174179
}; // pins_cm3
175180

176181
}; // videocore
182+
177183
};

0 commit comments

Comments
 (0)