Commit 5be4fbbf authored by Michal Simek's avatar Michal Simek

arm64: zynqmp: Add phase tags marking

bootph-all as phase tag was added to dt-schema
(dtschema/schemas/bootph.yaml) to cover U-Boot challenges with DT.
That's why add it also to Linux to be aligned with bootloader requirement.
Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/48b554aef75d11e6ad2ef7d21f22accb35432112.1683034376.git.michal.simek@amd.com
parent 7b91ccd5
...@@ -11,30 +11,35 @@ ...@@ -11,30 +11,35 @@
#include <dt-bindings/clock/xlnx-zynqmp-clk.h> #include <dt-bindings/clock/xlnx-zynqmp-clk.h>
/ { / {
pss_ref_clk: pss_ref_clk { pss_ref_clk: pss_ref_clk {
bootph-all;
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <33333333>; clock-frequency = <33333333>;
}; };
video_clk: video_clk { video_clk: video_clk {
bootph-all;
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <27000000>; clock-frequency = <27000000>;
}; };
pss_alt_ref_clk: pss_alt_ref_clk { pss_alt_ref_clk: pss_alt_ref_clk {
bootph-all;
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
}; };
gt_crx_ref_clk: gt_crx_ref_clk { gt_crx_ref_clk: gt_crx_ref_clk {
bootph-all;
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <108000000>; clock-frequency = <108000000>;
}; };
aux_ref_clk: aux_ref_clk { aux_ref_clk: aux_ref_clk {
bootph-all;
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <27000000>; clock-frequency = <27000000>;
...@@ -43,6 +48,7 @@ aux_ref_clk: aux_ref_clk { ...@@ -43,6 +48,7 @@ aux_ref_clk: aux_ref_clk {
&zynqmp_firmware { &zynqmp_firmware {
zynqmp_clk: clock-controller { zynqmp_clk: clock-controller {
bootph-all;
#clock-cells = <1>; #clock-cells = <1>;
compatible = "xlnx,zynqmp-clk"; compatible = "xlnx,zynqmp-clk";
clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>, clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>,
......
...@@ -236,17 +236,20 @@ tpm@0 { /* slm9670 - U144 */ ...@@ -236,17 +236,20 @@ tpm@0 { /* slm9670 - U144 */
&i2c1 { &i2c1 {
status = "okay"; status = "okay";
bootph-all;
clock-frequency = <400000>; clock-frequency = <400000>;
scl-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; scl-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
sda-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>; sda-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
eeprom: eeprom@50 { /* u46 - also at address 0x58 */ eeprom: eeprom@50 { /* u46 - also at address 0x58 */
bootph-all;
compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */ compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */
reg = <0x50>; reg = <0x50>;
/* WP pin EE_WP_EN connected to slg7x644092@68 */ /* WP pin EE_WP_EN connected to slg7x644092@68 */
}; };
eeprom_cc: eeprom@51 { /* required by spec - also at address 0x59 */ eeprom_cc: eeprom@51 { /* required by spec - also at address 0x59 */
bootph-all;
compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */ compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */
reg = <0x51>; reg = <0x51>;
}; };
......
...@@ -118,6 +118,7 @@ rproc_1_fw_image: memory@3ef00000 { ...@@ -118,6 +118,7 @@ rproc_1_fw_image: memory@3ef00000 {
}; };
zynqmp_ipi: zynqmp_ipi { zynqmp_ipi: zynqmp_ipi {
bootph-all;
compatible = "xlnx,zynqmp-ipi-mailbox"; compatible = "xlnx,zynqmp-ipi-mailbox";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 35 4>; interrupts = <0 35 4>;
...@@ -127,6 +128,7 @@ zynqmp_ipi: zynqmp_ipi { ...@@ -127,6 +128,7 @@ zynqmp_ipi: zynqmp_ipi {
ranges; ranges;
ipi_mailbox_pmu1: mailbox@ff9905c0 { ipi_mailbox_pmu1: mailbox@ff9905c0 {
bootph-all;
reg = <0x0 0xff9905c0 0x0 0x20>, reg = <0x0 0xff9905c0 0x0 0x20>,
<0x0 0xff9905e0 0x0 0x20>, <0x0 0xff9905e0 0x0 0x20>,
<0x0 0xff990e80 0x0 0x20>, <0x0 0xff990e80 0x0 0x20>,
...@@ -143,6 +145,7 @@ ipi_mailbox_pmu1: mailbox@ff9905c0 { ...@@ -143,6 +145,7 @@ ipi_mailbox_pmu1: mailbox@ff9905c0 {
dcc: dcc { dcc: dcc {
compatible = "arm,dcc"; compatible = "arm,dcc";
status = "disabled"; status = "disabled";
bootph-all;
}; };
pmu { pmu {
...@@ -164,8 +167,10 @@ zynqmp_firmware: zynqmp-firmware { ...@@ -164,8 +167,10 @@ zynqmp_firmware: zynqmp-firmware {
compatible = "xlnx,zynqmp-firmware"; compatible = "xlnx,zynqmp-firmware";
#power-domain-cells = <1>; #power-domain-cells = <1>;
method = "smc"; method = "smc";
bootph-all;
zynqmp_power: zynqmp-power { zynqmp_power: zynqmp-power {
bootph-all;
compatible = "xlnx,zynqmp-power"; compatible = "xlnx,zynqmp-power";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 35 4>; interrupts = <0 35 4>;
...@@ -245,6 +250,7 @@ r5f-1 { ...@@ -245,6 +250,7 @@ r5f-1 {
amba: axi { amba: axi {
compatible = "simple-bus"; compatible = "simple-bus";
bootph-all;
#address-cells = <2>; #address-cells = <2>;
#size-cells = <2>; #size-cells = <2>;
ranges; ranges;
...@@ -684,6 +690,7 @@ pcie_intc: legacy-interrupt-controller { ...@@ -684,6 +690,7 @@ pcie_intc: legacy-interrupt-controller {
}; };
qspi: spi@ff0f0000 { qspi: spi@ff0f0000 {
bootph-all;
compatible = "xlnx,zynqmp-qspi-1.0"; compatible = "xlnx,zynqmp-qspi-1.0";
status = "disabled"; status = "disabled";
clock-names = "ref_clk", "pclk"; clock-names = "ref_clk", "pclk";
...@@ -730,6 +737,7 @@ sata: ahci@fd0c0000 { ...@@ -730,6 +737,7 @@ sata: ahci@fd0c0000 {
}; };
sdhci0: mmc@ff160000 { sdhci0: mmc@ff160000 {
bootph-all;
compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a"; compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
status = "disabled"; status = "disabled";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
...@@ -744,6 +752,7 @@ sdhci0: mmc@ff160000 { ...@@ -744,6 +752,7 @@ sdhci0: mmc@ff160000 {
}; };
sdhci1: mmc@ff170000 { sdhci1: mmc@ff170000 {
bootph-all;
compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a"; compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
status = "disabled"; status = "disabled";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
...@@ -836,6 +845,7 @@ ttc3: timer@ff140000 { ...@@ -836,6 +845,7 @@ ttc3: timer@ff140000 {
}; };
uart0: serial@ff000000 { uart0: serial@ff000000 {
bootph-all;
compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12"; compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12";
status = "disabled"; status = "disabled";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
...@@ -846,6 +856,7 @@ uart0: serial@ff000000 { ...@@ -846,6 +856,7 @@ uart0: serial@ff000000 {
}; };
uart1: serial@ff010000 { uart1: serial@ff010000 {
bootph-all;
compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12"; compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12";
status = "disabled"; status = "disabled";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
...@@ -967,6 +978,7 @@ zynqmp_dpdma: dma-controller@fd4c0000 { ...@@ -967,6 +978,7 @@ zynqmp_dpdma: dma-controller@fd4c0000 {
}; };
zynqmp_dpsub: display@fd4a0000 { zynqmp_dpsub: display@fd4a0000 {
bootph-all;
compatible = "xlnx,zynqmp-dpsub-1.7"; compatible = "xlnx,zynqmp-dpsub-1.7";
status = "disabled"; status = "disabled";
reg = <0x0 0xfd4a0000 0x0 0x1000>, reg = <0x0 0xfd4a0000 0x0 0x1000>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment