1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) Sunplus Ltd. Co. 2021 2 # Copyright (C) Sunplus Ltd. Co. 2021 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/mmc/sunplus 5 $id: http://devicetree.org/schemas/mmc/sunplus,mmc.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: Sunplus MMC Controller 8 title: Sunplus MMC Controller 9 9 10 maintainers: 10 maintainers: 11 - Tony Huang <tonyhuang.sunplus@gmail.com> 11 - Tony Huang <tonyhuang.sunplus@gmail.com> 12 - Li-hao Kuo <lhjeff911@gmail.com> 12 - Li-hao Kuo <lhjeff911@gmail.com> 13 13 14 allOf: 14 allOf: 15 - $ref: mmc-controller.yaml 15 - $ref: mmc-controller.yaml 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - sunplus,sp7021-mmc 20 - sunplus,sp7021-mmc 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 interrupts: 25 interrupts: 26 maxItems: 1 26 maxItems: 1 27 27 28 clocks: 28 clocks: 29 maxItems: 1 29 maxItems: 1 30 30 31 resets: 31 resets: 32 maxItems: 1 32 maxItems: 1 33 33 34 required: 34 required: 35 - compatible 35 - compatible 36 - reg 36 - reg 37 - interrupts 37 - interrupts 38 - clocks 38 - clocks 39 - resets 39 - resets 40 40 41 unevaluatedProperties: false 41 unevaluatedProperties: false 42 42 43 examples: 43 examples: 44 - | 44 - | 45 #include <dt-bindings/interrupt-controller 45 #include <dt-bindings/interrupt-controller/irq.h> 46 #include <dt-bindings/interrupt-controller 46 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 mmc0: mmc@9c003b00 { 47 mmc0: mmc@9c003b00 { 48 compatible = "sunplus,sp7021-mmc"; 48 compatible = "sunplus,sp7021-mmc"; 49 reg = <0x9c003b00 0x180>; 49 reg = <0x9c003b00 0x180>; 50 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; 50 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; 51 clocks = <&clkc 0x4e>; 51 clocks = <&clkc 0x4e>; 52 resets = <&rstc 0x3e>; 52 resets = <&rstc 0x3e>; 53 bus-width = <8>; 53 bus-width = <8>; 54 max-frequency = <52000000>; 54 max-frequency = <52000000>; 55 non-removable; 55 non-removable; 56 disable-wp; 56 disable-wp; 57 cap-mmc-highspeed; 57 cap-mmc-highspeed; 58 mmc-ddr-3_3v; 58 mmc-ddr-3_3v; 59 no-sdio; 59 no-sdio; 60 no-sd; 60 no-sd; 61 }; 61 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.