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