Skip to content

Commit d501087

Browse files
E ShattowConchuOD
authored andcommitted
riscv: dts: starfive: jh7110-common: bootph-pre-ram hinting needed by boot loader
Add bootph-pre-ram hinting to jh7110-common.dtsi: - i2c5_pins and i2c-pins subnode for connection to eeprom - eeprom node - qspi flash configuration subnode - memory node - mmc0 for eMMC - mmc1 for SD Card - uart0 for serial console With this the U-Boot SPL secondary program loader may drop such overrides. Signed-off-by: E Shattow <[email protected]> Acked-by: Emil Renner Berthing <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 6359181 commit d501087

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arch/riscv/boot/dts/starfive/jh7110-common.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
memory@40000000 {
3030
device_type = "memory";
3131
reg = <0x0 0x40000000 0x1 0x0>;
32+
bootph-pre-ram;
3233
};
3334

3435
gpio-restart {
@@ -250,6 +251,7 @@
250251
eeprom@50 {
251252
compatible = "atmel,24c04";
252253
reg = <0x50>;
254+
bootph-pre-ram;
253255
pagesize = <16>;
254256
};
255257
};
@@ -269,6 +271,7 @@
269271
assigned-clocks = <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>;
270272
assigned-clock-rates = <50000000>;
271273
bus-width = <8>;
274+
bootph-pre-ram;
272275
cap-mmc-highspeed;
273276
mmc-ddr-1_8v;
274277
mmc-hs200-1_8v;
@@ -286,6 +289,7 @@
286289
assigned-clocks = <&syscrg JH7110_SYSCLK_SDIO1_SDCARD>;
287290
assigned-clock-rates = <50000000>;
288291
bus-width = <4>;
292+
bootph-pre-ram;
289293
no-sdio;
290294
no-mmc;
291295
cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
@@ -324,6 +328,7 @@
324328
nor_flash: flash@0 {
325329
compatible = "jedec,spi-nor";
326330
reg = <0>;
331+
bootph-pre-ram;
327332
cdns,read-delay = <2>;
328333
spi-max-frequency = <100000000>;
329334
cdns,tshsl-ns = <1>;
@@ -403,6 +408,8 @@
403408
};
404409

405410
i2c5_pins: i2c5-0 {
411+
bootph-pre-ram;
412+
406413
i2c-pins {
407414
pinmux = <GPIOMUX(19, GPOUT_LOW,
408415
GPOEN_SYS_I2C5_CLK,
@@ -411,6 +418,7 @@
411418
GPOEN_SYS_I2C5_DATA,
412419
GPI_SYS_I2C5_DATA)>;
413420
bias-disable; /* external pull-up */
421+
bootph-pre-ram;
414422
input-enable;
415423
input-schmitt-enable;
416424
};
@@ -639,6 +647,7 @@
639647
};
640648

641649
&uart0 {
650+
bootph-pre-ram;
642651
pinctrl-names = "default";
643652
pinctrl-0 = <&uart0_pins>;
644653
status = "okay";

0 commit comments

Comments
 (0)