]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node
authorVaishnav Achath <vaishnav.a@ti.com>
Mon, 9 May 2022 06:20:09 +0000 (11:50 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jun 2022 13:03:22 +0000 (09:03 -0400)
Add DT node for HyperBus Memory Controller and hbmc-mux in the
FSS. hbmc-am654 driver uses syscon_get_regmap() call which fails
with current compatible setting.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
arch/arm/dts/k3-j721e-mcu-wakeup.dtsi

index d2dceda72fe97783b4b4c082673a137c5802e79b..22166c79425d82daf4be30f67fc93bf6dc350636 100644 (file)
        };
 
        fss: fss@47000000 {
-               compatible = "simple-bus";
+               compatible = "syscon", "simple-mfd";
                reg = <0x0 0x47000000 0x0 0x100>;
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
 
+               hbmc_mux: hbmc-mux {
+                       compatible = "mmio-mux";
+                       #mux-control-cells = <1>;
+                       mux-reg-masks = <0x4 0x2>; /* HBMC select */
+               };
+
+               hbmc: hyperbus@47034000 {
+                       compatible = "ti,j721e-hbmc", "ti,am654-hbmc";
+                       reg = <0x0 0x47034000 0x0 0x100>,
+                               <0x5 0x00000000 0x1 0x0000000>;
+                       power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
+                       #address-cells = <2>;
+                       #size-cells = <1>;
+                       mux-controls = <&hbmc_mux 0>;
+                       assigned-clocks = <&k3_clks 102 0>;
+                       assigned-clock-rates = <250000000>;
+               };
+
                ospi0: spi@47040000 {
                        compatible = "ti,am654-ospi", "cdns,qspi-nor";
                        reg = <0x0 0x47040000 0x0 0x100>,