xref: /linux/arch/arm/boot/dts/nxp/imx/imx1-ads.dts (revision 06d07429858317ded2db7986113a9e0129cd599b)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring#include "imx1.dtsi"
8724ba675SRob Herring
9724ba675SRob Herring/ {
10724ba675SRob Herring	model = "Freescale MX1 ADS";
11724ba675SRob Herring	compatible = "fsl,imx1ads", "fsl,imx1";
12724ba675SRob Herring
13724ba675SRob Herring	chosen {
14724ba675SRob Herring		stdout-path = &uart1;
15724ba675SRob Herring	};
16724ba675SRob Herring
17724ba675SRob Herring	memory@8000000 {
18724ba675SRob Herring		device_type = "memory";
19724ba675SRob Herring		reg = <0x08000000 0x04000000>;
20724ba675SRob Herring	};
21724ba675SRob Herring};
22724ba675SRob Herring
23724ba675SRob Herring&cspi1 {
24724ba675SRob Herring	pinctrl-0 = <&pinctrl_cspi1>;
25724ba675SRob Herring	cs-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
26724ba675SRob Herring	status = "okay";
27724ba675SRob Herring};
28724ba675SRob Herring
29724ba675SRob Herring&i2c {
30724ba675SRob Herring	pinctrl-names = "default";
31724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c>;
32724ba675SRob Herring	status = "okay";
33724ba675SRob Herring
34724ba675SRob Herring	extgpio0: pcf8575@22 {
35724ba675SRob Herring		compatible = "nxp,pcf8575";
36724ba675SRob Herring		reg = <0x22>;
37724ba675SRob Herring		gpio-controller;
38724ba675SRob Herring		#gpio-cells = <2>;
39724ba675SRob Herring	};
40724ba675SRob Herring
41724ba675SRob Herring	extgpio1: pcf8575@24 {
42724ba675SRob Herring		compatible = "nxp,pcf8575";
43724ba675SRob Herring		reg = <0x24>;
44724ba675SRob Herring		gpio-controller;
45724ba675SRob Herring		#gpio-cells = <2>;
46724ba675SRob Herring	};
47724ba675SRob Herring};
48724ba675SRob Herring
49724ba675SRob Herring&uart1 {
50724ba675SRob Herring	pinctrl-names = "default";
51724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
52724ba675SRob Herring	uart-has-rtscts;
53724ba675SRob Herring	status = "okay";
54724ba675SRob Herring};
55724ba675SRob Herring
56724ba675SRob Herring&uart2 {
57724ba675SRob Herring	pinctrl-names = "default";
58724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2>;
59724ba675SRob Herring	uart-has-rtscts;
60724ba675SRob Herring	status = "okay";
61724ba675SRob Herring};
62724ba675SRob Herring
63724ba675SRob Herring&weim {
64724ba675SRob Herring	pinctrl-names = "default";
65724ba675SRob Herring	pinctrl-0 = <&pinctrl_weim>;
66724ba675SRob Herring	status = "okay";
67724ba675SRob Herring
68*1e1d7cc4SFabio Estevam	nor: flash@0,0 {
69724ba675SRob Herring		compatible = "cfi-flash";
70724ba675SRob Herring		reg = <0 0x00000000 0x02000000>;
71724ba675SRob Herring		bank-width = <4>;
72724ba675SRob Herring		fsl,weim-cs-timing = <0x00003e00 0x00000801>;
73724ba675SRob Herring		#address-cells = <1>;
74724ba675SRob Herring		#size-cells = <1>;
75724ba675SRob Herring	};
76724ba675SRob Herring};
77724ba675SRob Herring
78724ba675SRob Herring&iomuxc {
79724ba675SRob Herring	imx1-ads {
80724ba675SRob Herring		pinctrl_cspi1: cspi1grp {
81724ba675SRob Herring			fsl,pins = <
82724ba675SRob Herring				MX1_PAD_SPI1_MISO__SPI1_MISO	0x0
83724ba675SRob Herring				MX1_PAD_SPI1_MOSI__SPI1_MOSI	0x0
84724ba675SRob Herring				MX1_PAD_SPI1_RDY__SPI1_RDY	0x0
85724ba675SRob Herring				MX1_PAD_SPI1_SCLK__SPI1_SCLK	0x0
86724ba675SRob Herring				MX1_PAD_SPI1_SS__GPIO3_15	0x0
87724ba675SRob Herring			>;
88724ba675SRob Herring		};
89724ba675SRob Herring
90724ba675SRob Herring		pinctrl_i2c: i2cgrp {
91724ba675SRob Herring			fsl,pins = <
92724ba675SRob Herring				MX1_PAD_I2C_SCL__I2C_SCL	0x0
93724ba675SRob Herring				MX1_PAD_I2C_SDA__I2C_SDA	0x0
94724ba675SRob Herring			>;
95724ba675SRob Herring		};
96724ba675SRob Herring
97724ba675SRob Herring		pinctrl_uart1: uart1grp {
98724ba675SRob Herring			fsl,pins = <
99724ba675SRob Herring				MX1_PAD_UART1_TXD__UART1_TXD	0x0
100724ba675SRob Herring				MX1_PAD_UART1_RXD__UART1_RXD	0x0
101724ba675SRob Herring				MX1_PAD_UART1_CTS__UART1_CTS	0x0
102724ba675SRob Herring				MX1_PAD_UART1_RTS__UART1_RTS	0x0
103724ba675SRob Herring			>;
104724ba675SRob Herring		};
105724ba675SRob Herring
106724ba675SRob Herring		pinctrl_uart2: uart2grp {
107724ba675SRob Herring			fsl,pins = <
108724ba675SRob Herring				MX1_PAD_UART2_TXD__UART2_TXD	0x0
109724ba675SRob Herring				MX1_PAD_UART2_RXD__UART2_RXD	0x0
110724ba675SRob Herring				MX1_PAD_UART2_CTS__UART2_CTS	0x0
111724ba675SRob Herring				MX1_PAD_UART2_RTS__UART2_RTS	0x0
112724ba675SRob Herring			>;
113724ba675SRob Herring		};
114724ba675SRob Herring
115724ba675SRob Herring		pinctrl_weim: weimgrp {
116724ba675SRob Herring			fsl,pins = <
117724ba675SRob Herring				MX1_PAD_A0__A0			0x0
118724ba675SRob Herring				MX1_PAD_A16__A16		0x0
119724ba675SRob Herring				MX1_PAD_A17__A17		0x0
120724ba675SRob Herring				MX1_PAD_A18__A18		0x0
121724ba675SRob Herring				MX1_PAD_A19__A19		0x0
122724ba675SRob Herring				MX1_PAD_A20__A20		0x0
123724ba675SRob Herring				MX1_PAD_A21__A21		0x0
124724ba675SRob Herring				MX1_PAD_A22__A22		0x0
125724ba675SRob Herring				MX1_PAD_A23__A23		0x0
126724ba675SRob Herring				MX1_PAD_A24__A24		0x0
127724ba675SRob Herring				MX1_PAD_BCLK__BCLK		0x0
128724ba675SRob Herring				MX1_PAD_CS4__CS4		0x0
129724ba675SRob Herring				MX1_PAD_DTACK__DTACK		0x0
130724ba675SRob Herring				MX1_PAD_ECB__ECB		0x0
131724ba675SRob Herring				MX1_PAD_LBA__LBA		0x0
132724ba675SRob Herring			>;
133724ba675SRob Herring		};
134724ba675SRob Herring	};
135724ba675SRob Herring};
136