1 From 86864bf8f40e84dc881c197ef470a88668329dbf Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Mon, 7 Aug 2023 21:21:45 +0100
4 Subject: [PATCH 12/15] dt-bindings: mmc: mmc-card: add block device nodes
6 Add nodes representing the block devices exposed by an MMC device
7 including an example involving nvmem-cells.
9 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
11 .../devicetree/bindings/mmc/mmc-card.yaml | 45 +++++++++++++++++++
12 1 file changed, 45 insertions(+)
14 --- a/Documentation/devicetree/bindings/mmc/mmc-card.yaml
15 +++ b/Documentation/devicetree/bindings/mmc/mmc-card.yaml
16 @@ -26,6 +26,18 @@ properties:
17 Use this to indicate that the mmc-card has a broken hpi
18 implementation, and that hpi should not be used.
21 + $ref: /schemas/block/block-device.yaml#
23 + Represents the block storage provided by an SD card or the
24 + main hardware partition of an eMMC.
28 + $ref: /schemas/block/block-device.yaml#
30 + Represents a boot hardware partition on an eMMC.
35 @@ -42,6 +54,39 @@ examples:
36 compatible = "mmc-card";
42 + cal_data: block-partition-rf {
47 + compatible = "fixed-layout";
48 + #address-cells = <1>;
61 + compatible = "fixed-layout";
62 + #address-cells = <1>;
65 + macaddr: macaddr@a {
66 + compatible = "mac-base";
68 + #nvmem-cell-cells = <1>;