]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: ti: k3-j7200-mcu-wakeup: Add HyperBus node
authorVignesh Raghavendra <vigneshr@ti.com>
Wed, 23 Sep 2020 16:31:49 +0000 (22:01 +0530)
committerNishanth Menon <nm@ti.com>
Thu, 24 Sep 2020 11:11:53 +0000 (06:11 -0500)
J7200 has a Flash SubSystem that has one OSPI and one HyperBus.. Add
DT nodes for HyperBus controller for now.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Link: https://lore.kernel.org/r/20200923163150.16973-2-vigneshr@ti.com
arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi

index b67b33c9bda66f99828f942ef1e9e399ec66e0e9..eb2a78a53512cf596d7e5cda68b6f8e6098696f6 100644 (file)
                clocks = <&k3_clks 197 1>;
                power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>;
        };
+
+       fss: syscon@47000000 {
+               compatible = "syscon", "simple-mfd";
+               reg = <0x00 0x47000000 0x00 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,am654-hbmc";
+                       reg = <0x00 0x47034000 0x00 0x100>,
+                               <0x05 0x00000000 0x01 0x0000000>;
+                       power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
+                       clocks = <&k3_clks 102 0>;
+                       assigned-clocks = <&k3_clks 102 5>;
+                       assigned-clock-rates = <333333333>;
+                       #address-cells = <2>;
+                       #size-cells = <1>;
+                       mux-controls = <&hbmc_mux 0>;
+               };
+       };
 };