mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
ARM: dts: renesas: rcar-gen2: Add boot phase tags
bootph-all as phase tag was added to dt-schema (dtschema/schemas/bootph.yaml) to describe various node usage during boot phases with DT. Add bootph-all for all nodes that are used in the bootloader on Renesas R-Car Gen2 SoCs. All SoC require CPG clock and its input clock, RST Reset, PFC pin control and PRR ID register access during all stages of the boot process, those are marked using bootph-all property, and so is the SoC bus node which contains these IP. Each board console UART is also marked as bootph-all to make it available in all stages of the boot process. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/20250209180616.160253-1-marek.vasut+renesas@mailbox.org Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
44a4951fff
commit
f1a1268572
14 changed files with 43 additions and 0 deletions
|
@ -754,6 +754,7 @@
|
|||
&scif0 {
|
||||
pinctrl-0 = <&scif0_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -268,6 +268,7 @@
|
|||
&scifa0 {
|
||||
pinctrl-0 = <&scifa0_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -227,6 +227,7 @@
|
|||
#clock-cells = <0>;
|
||||
/* This value must be overridden by the board. */
|
||||
clock-frequency = <0>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
/* External PCIe clock - can be overridden by the board */
|
||||
|
@ -265,6 +266,7 @@
|
|||
soc {
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&gic>;
|
||||
bootph-all;
|
||||
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
@ -374,6 +376,7 @@
|
|||
pfc: pinctrl@e6060000 {
|
||||
compatible = "renesas,pfc-r8a7790";
|
||||
reg = <0 0xe6060000 0 0x250>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
tpu: pwm@e60f0000 {
|
||||
|
@ -395,6 +398,7 @@
|
|||
#clock-cells = <2>;
|
||||
#power-domain-cells = <0>;
|
||||
#reset-cells = <1>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
apmu@e6151000 {
|
||||
|
@ -412,6 +416,7 @@
|
|||
rst: reset-controller@e6160000 {
|
||||
compatible = "renesas,r8a7790-rst";
|
||||
reg = <0 0xe6160000 0 0x0100>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
sysc: system-controller@e6180000 {
|
||||
|
@ -1948,6 +1953,7 @@
|
|||
prr: chipid@ff000044 {
|
||||
compatible = "renesas,prr";
|
||||
reg = <0 0xff000044 0 4>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
cmt0: timer@ffca0000 {
|
||||
|
@ -2018,5 +2024,6 @@
|
|||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <48000000>;
|
||||
bootph-all;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -679,6 +679,7 @@
|
|||
&scif0 {
|
||||
pinctrl-0 = <&scif0_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -312,6 +312,7 @@
|
|||
&scif0 {
|
||||
pinctrl-0 = <&scif0_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
#clock-cells = <0>;
|
||||
/* This value must be overridden by the board. */
|
||||
clock-frequency = <0>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
/* External PCIe clock - can be overridden by the board */
|
||||
|
@ -152,6 +153,7 @@
|
|||
soc {
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&gic>;
|
||||
bootph-all;
|
||||
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
@ -291,6 +293,7 @@
|
|||
pfc: pinctrl@e6060000 {
|
||||
compatible = "renesas,pfc-r8a7791";
|
||||
reg = <0 0xe6060000 0 0x250>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
tpu: pwm@e60f0000 {
|
||||
|
@ -312,6 +315,7 @@
|
|||
#clock-cells = <2>;
|
||||
#power-domain-cells = <0>;
|
||||
#reset-cells = <1>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
apmu@e6152000 {
|
||||
|
@ -323,6 +327,7 @@
|
|||
rst: reset-controller@e6160000 {
|
||||
compatible = "renesas,r8a7791-rst";
|
||||
reg = <0 0xe6160000 0 0x0100>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
sysc: system-controller@e6180000 {
|
||||
|
@ -1875,6 +1880,7 @@
|
|||
prr: chipid@ff000044 {
|
||||
compatible = "renesas,prr";
|
||||
reg = <0 0xff000044 0 4>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
cmt0: timer@ffca0000 {
|
||||
|
@ -1945,5 +1951,6 @@
|
|||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <48000000>;
|
||||
bootph-all;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -301,6 +301,7 @@
|
|||
&scif0 {
|
||||
pinctrl-0 = <&scif0_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -183,6 +183,7 @@
|
|||
&scif0 {
|
||||
pinctrl-0 = <&scif0_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
#clock-cells = <0>;
|
||||
/* This value must be overridden by the board. */
|
||||
clock-frequency = <0>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
lbsc: bus {
|
||||
|
@ -109,6 +110,7 @@
|
|||
soc {
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&gic>;
|
||||
bootph-all;
|
||||
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
@ -308,6 +310,7 @@
|
|||
pfc: pinctrl@e6060000 {
|
||||
compatible = "renesas,pfc-r8a7792";
|
||||
reg = <0 0xe6060000 0 0x144>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
cpg: clock-controller@e6150000 {
|
||||
|
@ -318,6 +321,7 @@
|
|||
#clock-cells = <2>;
|
||||
#power-domain-cells = <0>;
|
||||
#reset-cells = <1>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
apmu@e6152000 {
|
||||
|
@ -329,6 +333,7 @@
|
|||
rst: reset-controller@e6160000 {
|
||||
compatible = "renesas,r8a7792-rst";
|
||||
reg = <0 0xe6160000 0 0x0100>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
sysc: system-controller@e6180000 {
|
||||
|
@ -947,6 +952,7 @@
|
|||
prr: chipid@ff000044 {
|
||||
compatible = "renesas,prr";
|
||||
reg = <0 0xff000044 0 4>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
cmt0: timer@ffca0000 {
|
||||
|
|
|
@ -642,6 +642,7 @@
|
|||
&scif0 {
|
||||
pinctrl-0 = <&scif0_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
#clock-cells = <0>;
|
||||
/* This value must be overridden by the board. */
|
||||
clock-frequency = <0>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
pmu {
|
||||
|
@ -137,6 +138,7 @@
|
|||
soc {
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&gic>;
|
||||
bootph-all;
|
||||
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
@ -276,6 +278,7 @@
|
|||
pfc: pinctrl@e6060000 {
|
||||
compatible = "renesas,pfc-r8a7793";
|
||||
reg = <0 0xe6060000 0 0x250>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
/* Special CPG clocks */
|
||||
|
@ -287,6 +290,7 @@
|
|||
#clock-cells = <2>;
|
||||
#power-domain-cells = <0>;
|
||||
#reset-cells = <1>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
apmu@e6152000 {
|
||||
|
@ -298,6 +302,7 @@
|
|||
rst: reset-controller@e6160000 {
|
||||
compatible = "renesas,r8a7793-rst";
|
||||
reg = <0 0xe6160000 0 0x0100>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
sysc: system-controller@e6180000 {
|
||||
|
@ -1454,6 +1459,7 @@
|
|||
prr: chipid@ff000044 {
|
||||
compatible = "renesas,prr";
|
||||
reg = <0 0xff000044 0 4>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
cmt0: timer@ffca0000 {
|
||||
|
@ -1524,5 +1530,6 @@
|
|||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <48000000>;
|
||||
bootph-all;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -479,6 +479,7 @@
|
|||
&scif2 {
|
||||
pinctrl-0 = <&scif2_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -394,6 +394,7 @@
|
|||
&scif2 {
|
||||
pinctrl-0 = <&scif2_pins>;
|
||||
pinctrl-names = "default";
|
||||
bootph-all;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -99,6 +99,7 @@
|
|||
#clock-cells = <0>;
|
||||
/* This value must be overridden by the board. */
|
||||
clock-frequency = <0>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
pmu {
|
||||
|
@ -119,6 +120,7 @@
|
|||
soc {
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&gic>;
|
||||
bootph-all;
|
||||
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
@ -243,6 +245,7 @@
|
|||
pfc: pinctrl@e6060000 {
|
||||
compatible = "renesas,pfc-r8a7794";
|
||||
reg = <0 0xe6060000 0 0x11c>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
cpg: clock-controller@e6150000 {
|
||||
|
@ -253,6 +256,7 @@
|
|||
#clock-cells = <2>;
|
||||
#power-domain-cells = <0>;
|
||||
#reset-cells = <1>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
apmu@e6151000 {
|
||||
|
@ -264,6 +268,7 @@
|
|||
rst: reset-controller@e6160000 {
|
||||
compatible = "renesas,r8a7794-rst";
|
||||
reg = <0 0xe6160000 0 0x0100>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
sysc: system-controller@e6180000 {
|
||||
|
@ -1440,6 +1445,7 @@
|
|||
prr: chipid@ff000044 {
|
||||
compatible = "renesas,prr";
|
||||
reg = <0 0xff000044 0 4>;
|
||||
bootph-all;
|
||||
};
|
||||
|
||||
cmt0: timer@ffca0000 {
|
||||
|
@ -1491,5 +1497,6 @@
|
|||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <48000000>;
|
||||
bootph-all;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue