72 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mtd/ti,am654-hbmc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: HyperBus Memory Controller (HBMC) on TI's K3 family of SoCs8 9maintainers:10 - Vignesh Raghavendra <vigneshr@ti.com>11 12properties:13 compatible:14 const: ti,am654-hbmc15 16 reg:17 maxItems: 218 19 power-domains: true20 '#address-cells': true21 '#size-cells': true22 ranges: true23 24 mux-controls:25 description: MMIO mux controller node to select b/w OSPI and HBMC.26 27 clocks:28 maxItems: 129 30patternProperties:31 "^flash@[0-1],[0-9a-f]+$":32 type: object33 $ref: mtd-physmap.yaml34 unevaluatedProperties: false35 36required:37 - compatible38 - reg39 - ranges40 - clocks41 - '#address-cells'42 - '#size-cells'43 44additionalProperties: false45 46examples:47 - |48 bus {49 #address-cells = <2>;50 #size-cells = <2>;51 52 hbmc: memory-controller@47034000 {53 compatible = "ti,am654-hbmc";54 reg = <0x0 0x47034000 0x0 0x100>,55 <0x5 0x00000000 0x1 0x0000000>;56 ranges = <0x0 0x0 0x5 0x00000000 0x4000000>, /* CS0 - 64MB */57 <0x1 0x0 0x5 0x04000000 0x4000000>; /* CS1 - 64MB */58 clocks = <&k3_clks 102 0>;59 #address-cells = <2>;60 #size-cells = <1>;61 power-domains = <&k3_pds 55>;62 mux-controls = <&hbmc_mux 0>;63 64 flash@0,0 {65 compatible = "cypress,hyperflash", "cfi-flash";66 reg = <0x0 0x0 0x4000000>;67 #address-cells = <1>;68 #size-cells = <1>;69 };70 };71 };72