]> git.ipfire.org Git - thirdparty/linux.git/blame - arch/arm/boot/dts/moxart-uc7112lx.dts
Merge branch 'asoc-4.19' into asoc-4.20 for rt5682 deps.
[thirdparty/linux.git] / arch / arm / boot / dts / moxart-uc7112lx.dts
CommitLineData
448e7ede
JJ
1/* moxart-uc7112lx.dts - Device Tree file for MOXA UC-7112-LX
2 *
3 * Copyright (C) 2013 Jonas Jensen <jonas.jensen@gmail.com>
4 *
5 * Licensed under GPLv2 or later.
6 */
7
8/dts-v1/;
c2a736b6 9#include "moxart.dtsi"
448e7ede
JJ
10
11/ {
12 model = "MOXA UC-7112-LX";
13 compatible = "moxa,moxart-uc-7112-lx", "moxa,moxart";
14
15 memory {
16 device_type = "memory";
17 reg = <0x0 0x2000000>;
18 };
19
929267cb
JJ
20 clocks {
21 ref12: ref12M {
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <12000000>;
25 };
26 };
27
448e7ede
JJ
28 flash@80000000,0 {
29 compatible = "numonyx,js28f128", "cfi-flash";
30 reg = <0x80000000 0x1000000>;
31 bank-width = <2>;
32 #address-cells = <1>;
33 #size-cells = <1>;
34 partition@0 {
35 label = "bootloader";
36 reg = <0x0 0x40000>;
37 };
38 partition@40000 {
39 label = "linux kernel";
40 reg = <0x40000 0x1C0000>;
41 };
42 partition@200000 {
43 label = "root filesystem";
44 reg = <0x200000 0x800000>;
45 };
46 partition@a00000 {
47 label = "user filesystem";
48 reg = <0xa00000 0x600000>;
49 };
50 };
51
52 leds {
53 compatible = "gpio-leds";
54 user-led {
55 label = "ready-led";
56 gpios = <&gpio 27 0x1>;
57 default-state = "on";
58 linux,default-trigger = "default-on";
59 };
60 };
61
62 gpio_keys_polled {
63 compatible = "gpio-keys-polled";
64 #address-cells = <1>;
65 #size-cells = <0>;
66 poll-interval = <500>;
67 button@25 {
68 label = "GPIO Reset";
69 linux,code = <116>;
70 gpios = <&gpio 25 1>;
71 };
72 };
73
74 chosen {
75 bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/mmcblk0p1 rw rootwait";
76 };
77};
78
79&clk_pll {
80 clocks = <&ref12>;
81};
82
83&sdhci {
84 status = "okay";
85};
86
87&mdio0 {
88 status = "okay";
89
90 ethphy0: ethernet-phy@1 {
91 device_type = "ethernet-phy";
92 compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22";
93 reg = <1>;
94 };
95};
96
97&mdio1 {
98 status = "okay";
99
100 ethphy1: ethernet-phy@1 {
101 device_type = "ethernet-phy";
102 compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22";
103 reg = <1>;
104 };
105};
106
107&mac0 {
108 status = "okay";
109};
110
111&mac1 {
112 status = "okay";
113};
114
115&uart0 {
116 status = "okay";
117};