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