62 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) Sunplus Ltd. Co. 20213%YAML 1.24---5$id: http://devicetree.org/schemas/mmc/sunplus,mmc.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Sunplus MMC Controller9 10maintainers:11 - Tony Huang <tonyhuang.sunplus@gmail.com>12 - Li-hao Kuo <lhjeff911@gmail.com>13 14allOf:15 - $ref: mmc-controller.yaml16 17properties:18 compatible:19 enum:20 - sunplus,sp7021-mmc21 22 reg:23 maxItems: 124 25 interrupts:26 maxItems: 127 28 clocks:29 maxItems: 130 31 resets:32 maxItems: 133 34required:35 - compatible36 - reg37 - interrupts38 - clocks39 - resets40 41unevaluatedProperties: false42 43examples:44 - |45 #include <dt-bindings/interrupt-controller/irq.h>46 #include <dt-bindings/interrupt-controller/arm-gic.h>47 mmc0: mmc@9c003b00 {48 compatible = "sunplus,sp7021-mmc";49 reg = <0x9c003b00 0x180>;50 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;51 clocks = <&clkc 0x4e>;52 resets = <&rstc 0x3e>;53 bus-width = <8>;54 max-frequency = <52000000>;55 non-removable;56 disable-wp;57 cap-mmc-highspeed;58 mmc-ddr-3_3v;59 no-sdio;60 no-sd;61 };62