]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Add zynqmp firmware specific DT nodes
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Thu, 29 Apr 2021 14:02:29 +0000 (08:02 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 May 2021 07:44:50 +0000 (09:44 +0200)
Probe zynqmp firmware driver by adding zynqmp firmware, power &
ipi mailbox device tree nodes for mini emmc.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
arch/arm/dts/zynqmp-mini-emmc0.dts
arch/arm/dts/zynqmp-mini-emmc1.dts

index 8467dd8e1cc767b9e951b87c8eaa8abeed502de1..8d9f9ca37259a7e2f36658c131355c14979b10cf 100644 (file)
                clock-frequency = <200000000>;
        };
 
+       firmware {
+               zynqmp_firmware: zynqmp-firmware {
+                       compatible = "xlnx,zynqmp-firmware";
+                       #power-domain-cells = <1>;
+                       method = "smc";
+                       u-boot,dm-pre-reloc;
+
+                       zynqmp_power: zynqmp-power {
+                               u-boot,dm-pre-reloc;
+                               compatible = "xlnx,zynqmp-power";
+                               mboxes = <&ipi_mailbox_pmu1 0>,
+                                        <&ipi_mailbox_pmu1 1>;
+                               mbox-names = "tx", "rx";
+                       };
+               };
+       };
+
+       zynqmp_ipi: zynqmp_ipi {
+               u-boot,dm-pre-reloc;
+               compatible = "xlnx,zynqmp-ipi-mailbox";
+               xlnx,ipi-id = <0>;
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               ipi_mailbox_pmu1: mailbox@ff990400 {
+                       u-boot,dm-pre-reloc;
+                       reg = <0x0 0xff9905c0 0x0 0x20>,
+                             <0x0 0xff9905e0 0x0 0x20>,
+                             <0x0 0xff990e80 0x0 0x20>,
+                             <0x0 0xff990ea0 0x0 0x20>;
+                       reg-names = "local_request_region",
+                                   "local_response_region",
+                                   "remote_request_region",
+                                   "remote_response_region";
+                       #mbox-cells = <1>;
+                       xlnx,ipi-id = <4>;
+               };
+       };
+
        amba: amba {
                compatible = "simple-bus";
                #address-cells = <2>;
index 2afcc7751b9f078c42887c70081ccfd5e54a6a73..5722b762d679401cd79a77b297c84e9640d5c623 100644 (file)
                clock-frequency = <200000000>;
        };
 
+       firmware {
+               zynqmp_firmware: zynqmp-firmware {
+                       compatible = "xlnx,zynqmp-firmware";
+                       #power-domain-cells = <1>;
+                       method = "smc";
+                       u-boot,dm-pre-reloc;
+
+                       zynqmp_power: zynqmp-power {
+                               u-boot,dm-pre-reloc;
+                               compatible = "xlnx,zynqmp-power";
+                               mboxes = <&ipi_mailbox_pmu1 0>,
+                                        <&ipi_mailbox_pmu1 1>;
+                               mbox-names = "tx", "rx";
+                       };
+               };
+       };
+
+       zynqmp_ipi: zynqmp_ipi {
+               u-boot,dm-pre-reloc;
+               compatible = "xlnx,zynqmp-ipi-mailbox";
+               xlnx,ipi-id = <0>;
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               ipi_mailbox_pmu1: mailbox@ff990400 {
+                       u-boot,dm-pre-reloc;
+                       reg = <0x0 0xff9905c0 0x0 0x20>,
+                             <0x0 0xff9905e0 0x0 0x20>,
+                             <0x0 0xff990e80 0x0 0x20>,
+                             <0x0 0xff990ea0 0x0 0x20>;
+                       reg-names = "local_request_region",
+                                   "local_response_region",
+                                   "remote_request_region",
+                                   "remote_response_region";
+                       #mbox-cells = <1>;
+                       xlnx,ipi-id = <4>;
+               };
+       };
+
        amba: amba {
                compatible = "simple-bus";
                #address-cells = <2>;