| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sama5d3_mci2.dtsi - Device Tree Include file for SAMA5D3 SoC with |
|---|
| 3 | 4 | * 3 MMC ports |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * Licensed under GPLv2. |
|---|
| 8 | 7 | */ |
|---|
| 9 | 8 | |
|---|
| 10 | 9 | #include <dt-bindings/pinctrl/at91.h> |
|---|
| .. | .. |
|---|
| 31 | 30 | }; |
|---|
| 32 | 31 | }; |
|---|
| 33 | 32 | |
|---|
| 34 | | - pmc: pmc@fffffc00 { |
|---|
| 35 | | - periphck { |
|---|
| 36 | | - mci2_clk: mci2_clk { |
|---|
| 37 | | - #clock-cells = <0>; |
|---|
| 38 | | - reg = <23>; |
|---|
| 39 | | - }; |
|---|
| 40 | | - }; |
|---|
| 41 | | - }; |
|---|
| 42 | | - |
|---|
| 43 | 33 | mmc2: mmc@f8004000 { |
|---|
| 44 | 34 | compatible = "atmel,hsmci"; |
|---|
| 45 | 35 | reg = <0xf8004000 0x600>; |
|---|
| .. | .. |
|---|
| 48 | 38 | dma-names = "rxtx"; |
|---|
| 49 | 39 | pinctrl-names = "default"; |
|---|
| 50 | 40 | pinctrl-0 = <&pinctrl_mmc2_clk_cmd_dat0 &pinctrl_mmc2_dat1_3>; |
|---|
| 51 | | - clocks = <&mci2_clk>; |
|---|
| 41 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 23>; |
|---|
| 52 | 42 | clock-names = "mci_clk"; |
|---|
| 53 | 43 | status = "disabled"; |
|---|
| 54 | 44 | #address-cells = <1>; |
|---|