d32e3400f9f291454ac5c36252d5a148431ce03c
[openwrt/openwrt.git] / target / linux / samsung / dts / s5pv210_embedsky_tq210.dts
1 /*
2 * Samsung's S5PV210 SoC device tree source
3 * Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com>
4 *
5 * Board device tree source for TQ210 board.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12 /dts-v1/;
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include "s5pv210.dtsi"
16
17 / {
18 model = "Embedsky TQ210 based on S5PV210";
19 compatible = "embedsky,tq210", "samsung,s5pv210";
20
21 chosen {
22 bootargs = "console=ttySAC0,115200n8";
23 };
24
25 memory@20000000 {
26 device_type = "memory";
27 reg = <0x20000000 0x40000000>;
28 };
29
30 ethernet@88000000 {
31 compatible = "davicom,dm9000";
32 reg = <0x88000000 0x2 0x88000004 0x2>;
33 interrupt-parent = <&gph1>;
34 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
35 local-mac-address = [00 00 de ad be ef];
36 davicom,no-eeprom;
37 clocks = <&clocks CLK_SROMC>;
38 clock-names = "sromc";
39 };
40 };
41
42 &xxti {
43 clock-frequency = <24000000>;
44 };
45
46 &uart0 {
47 status = "okay";
48 };
49
50 &nand {
51 status = "okay";
52 nand-ecc-mode = "soft";
53
54 partition@0 {
55 label = "boot";
56 reg = <0x0 0x40000>; /* 246KB */
57 read-only;
58 };
59
60 partition@40000 {
61 label = "kernel";
62 reg = <0x40000 0x300000>; /* 3MB */
63 };
64
65 partition@340000 {
66 label = "rootfs";
67 reg = <0x340000 0x3fcc0000>; /* 1020MB */
68 };
69 };