xref: /linux/arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
4 */
5
6/dts-v1/;
7#include "imx1.dtsi"
8
9/ {
10	model = "Armadeus APF9328";
11	compatible = "armadeus,imx1-apf9328", "fsl,imx1";
12
13	chosen {
14		stdout-path = &uart1;
15	};
16
17	memory@8000000 {
18		device_type = "memory";
19		reg = <0x08000000 0x00800000>;
20	};
21};
22
23&i2c {
24	pinctrl-names = "default";
25	pinctrl-0 = <&pinctrl_i2c>;
26	status = "okay";
27};
28
29&uart1 {
30	pinctrl-names = "default";
31	pinctrl-0 = <&pinctrl_uart1>;
32	uart-has-rtscts;
33	status = "okay";
34};
35
36&uart2 {
37	pinctrl-names = "default";
38	pinctrl-0 = <&pinctrl_uart2>;
39	uart-has-rtscts;
40	status = "okay";
41};
42
43&weim {
44	pinctrl-names = "default";
45	pinctrl-0 = <&pinctrl_weim>;
46	status = "okay";
47
48	nor: flash@0,0 {
49		compatible = "cfi-flash";
50		reg = <0 0x00000000 0x02000000>;
51		bank-width = <2>;
52		fsl,weim-cs-timing = <0x00330e04 0x00000d01>;
53		#address-cells = <1>;
54		#size-cells = <1>;
55	};
56
57	eth: ethernet@4,c00000 {
58		pinctrl-names = "default";
59		pinctrl-0 = <&pinctrl_eth>;
60		compatible = "davicom,dm9000";
61		reg = <4 0x00c00000 0x2>,
62		      <4 0x00c00002 0x2>;
63		interrupt-parent = <&gpio2>;
64		interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
65		fsl,weim-cs-timing = <0x0000c700 0x19190d01>;
66	};
67};
68
69&iomuxc {
70	imx1-apf9328 {
71		pinctrl_eth: ethgrp {
72			fsl,pins = <
73				MX1_PAD_SIM_SVEN__GPIO2_14	0x0
74			>;
75		};
76
77		pinctrl_i2c: i2cgrp {
78			fsl,pins = <
79				MX1_PAD_I2C_SCL__I2C_SCL	0x0
80				MX1_PAD_I2C_SDA__I2C_SDA	0x0
81			>;
82		};
83
84		pinctrl_uart1: uart1grp {
85			fsl,pins = <
86				MX1_PAD_UART1_TXD__UART1_TXD	0x0
87				MX1_PAD_UART1_RXD__UART1_RXD	0x0
88				MX1_PAD_UART1_CTS__UART1_CTS	0x0
89				MX1_PAD_UART1_RTS__UART1_RTS	0x0
90			>;
91		};
92
93		pinctrl_uart2: uart2grp {
94			fsl,pins = <
95				MX1_PAD_UART2_TXD__UART2_TXD	0x0
96				MX1_PAD_UART2_RXD__UART2_RXD	0x0
97				MX1_PAD_UART2_CTS__UART2_CTS	0x0
98				MX1_PAD_UART2_RTS__UART2_RTS	0x0
99			>;
100		};
101
102		pinctrl_weim: weimgrp {
103			fsl,pins = <
104				MX1_PAD_A0__A0			0x0
105				MX1_PAD_A16__A16		0x0
106				MX1_PAD_A17__A17		0x0
107				MX1_PAD_A18__A18		0x0
108				MX1_PAD_A19__A19		0x0
109				MX1_PAD_A20__A20		0x0
110				MX1_PAD_A21__A21		0x0
111				MX1_PAD_A22__A22		0x0
112				MX1_PAD_A23__A23		0x0
113				MX1_PAD_A24__A24		0x0
114				MX1_PAD_BCLK__BCLK		0x0
115				MX1_PAD_CS4__CS4		0x0
116				MX1_PAD_DTACK__DTACK		0x0
117				MX1_PAD_ECB__ECB		0x0
118				MX1_PAD_LBA__LBA		0x0
119			>;
120		};
121	};
122};
123