0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mtd/ti,am654-hbmc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: HyperBus Memory Controller (HBMC) on TI's K3 family of SoCs
0008
0009 maintainers:
0010 - Vignesh Raghavendra <vigneshr@ti.com>
0011
0012 properties:
0013 compatible:
0014 const: ti,am654-hbmc
0015
0016 reg:
0017 maxItems: 2
0018
0019 power-domains: true
0020 '#address-cells': true
0021 '#size-cells': true
0022 ranges: true
0023
0024 mux-controls:
0025 description: MMIO mux controller node to select b/w OSPI and HBMC.
0026
0027 clocks:
0028 maxItems: 1
0029
0030 patternProperties:
0031 "^flash@[0-1],[0-9a-f]+$":
0032 type: object
0033
0034 required:
0035 - compatible
0036 - reg
0037 - ranges
0038 - clocks
0039 - '#address-cells'
0040 - '#size-cells'
0041
0042 additionalProperties: false
0043
0044 examples:
0045 - |
0046 bus {
0047 #address-cells = <2>;
0048 #size-cells = <2>;
0049
0050 hbmc: memory-controller@47034000 {
0051 compatible = "ti,am654-hbmc";
0052 reg = <0x0 0x47034000 0x0 0x100>,
0053 <0x5 0x00000000 0x1 0x0000000>;
0054 ranges = <0x0 0x0 0x5 0x00000000 0x4000000>, /* CS0 - 64MB */
0055 <0x1 0x0 0x5 0x04000000 0x4000000>; /* CS1 - 64MB */
0056 clocks = <&k3_clks 102 0>;
0057 #address-cells = <2>;
0058 #size-cells = <1>;
0059 power-domains = <&k3_pds 55>;
0060 mux-controls = <&hbmc_mux 0>;
0061
0062 flash@0,0 {
0063 compatible = "cypress,hyperflash", "cfi-flash";
0064 reg = <0x0 0x0 0x4000000>;
0065 #address-cells = <1>;
0066 #size-cells = <1>;
0067 };
0068 };
0069 };