Usama Arif | 565add1 | 2020-08-12 16:12:53 +0100 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * (C) Copyright 2020 Arm Limited |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | / { |
| 9 | model = "total_compute"; |
| 10 | compatible = "arm,total_compute"; |
| 11 | #address-cells = <2>; |
| 12 | #size-cells = <2>; |
| 13 | |
| 14 | sysreg: sysreg@1c010000 { |
| 15 | compatible = "arm,vexpress-sysreg"; |
| 16 | reg = <0x0 0x001c010000 0x0 0x1000>; |
| 17 | gpio-controller; |
| 18 | #gpio-cells = <2>; |
| 19 | }; |
| 20 | |
| 21 | fixed_3v3: v2m-3v3 { |
| 22 | compatible = "regulator-fixed"; |
| 23 | regulator-name = "3V3"; |
| 24 | regulator-min-microvolt = <3300000>; |
| 25 | regulator-max-microvolt = <3300000>; |
| 26 | regulator-always-on; |
| 27 | }; |
| 28 | |
| 29 | mmci@1c050000 { |
| 30 | compatible = "arm,pl180", "arm,primecell"; |
| 31 | reg = <0x0 0x001c050000 0x0 0x1000>; |
| 32 | cd-gpios = <&sysreg 0 0>; |
| 33 | arm,primecell-periphid = <0x00880180>; |
| 34 | wp-gpios = <&sysreg 1 0>; |
| 35 | bus-width = <8>; |
| 36 | max-frequency = <12000000>; |
| 37 | vmmc-supply = <&fixed_3v3>; |
| 38 | clocks = <&clock24mhz>, <&clock24mhz>; |
| 39 | clock-names = "mclk", "apb_pclk"; |
| 40 | }; |
| 41 | |
| 42 | clock24mhz: clock24mhz { |
| 43 | compatible = "fixed-clock"; |
| 44 | #clock-cells = <0>; |
| 45 | clock-frequency = <24000000>; |
| 46 | clock-output-names = "bp:clock24mhz"; |
| 47 | }; |
| 48 | }; |