1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2020 Amit Singh Tomar <amittomer25@gmail.com>
4 */
5
6/{
7	soc {
8		bootph-all;
9
10		gmac:  ethernet@e0220000 {
11			compatible = "actions,s700-ethernet";
12			reg = <0 0xe0220000 0 0x2000>;
13			interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
14			interrupt-names = "macirq";
15			local-mac-address = [ 00 18 fe 66 66 66 ];
16			clocks = <&cmu CLK_ETHERNET>, <&cmu CLK_RMII_REF>;
17			clock-names = "ethernet", "rmii_ref";
18			phy-mode = "rmii";
19			status = "okay";
20                };
21
22		mmc0: mmc@e0210000 {
23			compatible = "actions,s700-mmc", "actions,owl-mmc";
24			reg = <0x0 0xe0210000 0x0 0x4000>;
25			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
26			clocks = <&cmu CLK_SD0>;
27			dmas = <&dma 2>;
28			dma-names = "mmc";
29			bus-width = <4>;
30			status = "okay";
31		};
32	};
33};
34
35&uart3 {
36	bootph-all;
37};
38
39&cmu {
40	bootph-all;
41};
42