xref: /linux/arch/arm/boot/dts/nxp/mxs/imx28-sps1.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (C) 2012 Marek Vasut <marex@denx.de>
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring#include "imx28.dtsi"
8724ba675SRob Herring
9724ba675SRob Herring/ {
10724ba675SRob Herring	model = "SchulerControl GmbH, SC SPS 1";
11724ba675SRob Herring	compatible = "schulercontrol,imx28-sps1", "fsl,imx28";
12724ba675SRob Herring
13724ba675SRob Herring	memory@40000000 {
14724ba675SRob Herring		device_type = "memory";
15724ba675SRob Herring		reg = <0x40000000 0x08000000>;
16724ba675SRob Herring	};
17724ba675SRob Herring
18*29e0e9b4SKrzysztof Kozlowski	reg_usb0_vbus: regulator-0 {
19724ba675SRob Herring		compatible = "regulator-fixed";
20724ba675SRob Herring		regulator-name = "usb0_vbus";
21724ba675SRob Herring		regulator-min-microvolt = <5000000>;
22724ba675SRob Herring		regulator-max-microvolt = <5000000>;
23724ba675SRob Herring		gpio = <&gpio3 9 0>;
24724ba675SRob Herring	};
25724ba675SRob Herring
26724ba675SRob Herring	leds {
27724ba675SRob Herring		#address-cells = <1>;
28724ba675SRob Herring		#size-cells = <0>;
29724ba675SRob Herring		compatible = "gpio-leds";
30724ba675SRob Herring		status = "okay";
31724ba675SRob Herring
32724ba675SRob Herring		led@1 {
33724ba675SRob Herring			label = "sps1-1:yellow:user";
34724ba675SRob Herring			gpios = <&gpio0 6 0>;
35724ba675SRob Herring			linux,default-trigger = "heartbeat";
36724ba675SRob Herring			reg = <0>;
37724ba675SRob Herring		};
38724ba675SRob Herring
39724ba675SRob Herring		led@2 {
40724ba675SRob Herring			label = "sps1-2:red:user";
41724ba675SRob Herring			gpios = <&gpio0 3 0>;
42724ba675SRob Herring			linux,default-trigger = "heartbeat";
43724ba675SRob Herring			reg = <1>;
44724ba675SRob Herring		};
45724ba675SRob Herring
46724ba675SRob Herring		led@3 {
47724ba675SRob Herring			label = "sps1-3:red:user";
48724ba675SRob Herring			gpios = <&gpio0 0 0>;
49724ba675SRob Herring			default-trigger = "heartbeat";
50724ba675SRob Herring			reg = <2>;
51724ba675SRob Herring		};
52724ba675SRob Herring
53724ba675SRob Herring	};
54724ba675SRob Herring};
55724ba675SRob Herring
56724ba675SRob Herring&auart0 {
57724ba675SRob Herring	pinctrl-names = "default";
58724ba675SRob Herring	pinctrl-0 = <&auart0_pins_a>;
59724ba675SRob Herring	status = "okay";
60724ba675SRob Herring};
61724ba675SRob Herring
62724ba675SRob Herring&duart {
63724ba675SRob Herring	pinctrl-names = "default";
64724ba675SRob Herring	pinctrl-0 = <&duart_pins_a>;
65724ba675SRob Herring	status = "okay";
66724ba675SRob Herring};
67724ba675SRob Herring
68724ba675SRob Herring&i2c0 {
69724ba675SRob Herring	pinctrl-names = "default";
70724ba675SRob Herring	pinctrl-0 = <&i2c0_pins_a>;
71724ba675SRob Herring	status = "okay";
72724ba675SRob Herring
73724ba675SRob Herring	rtc: rtc@51 {
74724ba675SRob Herring		compatible = "nxp,pcf8563";
75724ba675SRob Herring		reg = <0x51>;
76724ba675SRob Herring	};
77724ba675SRob Herring
78724ba675SRob Herring	eeprom: eeprom@52 {
79724ba675SRob Herring		compatible = "atmel,24c64";
80724ba675SRob Herring		reg = <0x52>;
81724ba675SRob Herring		pagesize = <32>;
82724ba675SRob Herring	};
83724ba675SRob Herring};
84724ba675SRob Herring
85724ba675SRob Herring&mac0 {
86724ba675SRob Herring	phy-mode = "rmii";
87724ba675SRob Herring	pinctrl-names = "default";
88724ba675SRob Herring	pinctrl-0 = <&mac0_pins_a>;
89724ba675SRob Herring	status = "okay";
90724ba675SRob Herring};
91724ba675SRob Herring
92724ba675SRob Herring&mac1 {
93724ba675SRob Herring	phy-mode = "rmii";
94724ba675SRob Herring	pinctrl-names = "default";
95724ba675SRob Herring	pinctrl-0 = <&mac1_pins_a>;
96724ba675SRob Herring	status = "okay";
97724ba675SRob Herring};
98724ba675SRob Herring
99724ba675SRob Herring&pinctrl {
100724ba675SRob Herring	pinctrl-names = "default";
101724ba675SRob Herring	pinctrl-0 = <&hog_pins_a>;
102724ba675SRob Herring
103724ba675SRob Herring	hog_pins_a: hog-gpios@0 {
104724ba675SRob Herring		reg = <0>;
105724ba675SRob Herring		fsl,pinmux-ids = <
106724ba675SRob Herring			MX28_PAD_GPMI_D00__GPIO_0_0
107724ba675SRob Herring			MX28_PAD_GPMI_D03__GPIO_0_3
108724ba675SRob Herring			MX28_PAD_GPMI_D06__GPIO_0_6
109724ba675SRob Herring		>;
110724ba675SRob Herring		fsl,drive-strength = <MXS_DRIVE_4mA>;
111724ba675SRob Herring		fsl,voltage = <MXS_VOLTAGE_HIGH>;
112724ba675SRob Herring		fsl,pull-up = <MXS_PULL_DISABLE>;
113724ba675SRob Herring	};
114724ba675SRob Herring};
115724ba675SRob Herring
116724ba675SRob Herring&ssp0 {
117724ba675SRob Herring	compatible = "fsl,imx28-mmc";
118724ba675SRob Herring	pinctrl-names = "default";
119724ba675SRob Herring	pinctrl-0 = <&mmc0_4bit_pins_a>;
120724ba675SRob Herring	bus-width = <4>;
121724ba675SRob Herring	status = "okay";
122724ba675SRob Herring};
123724ba675SRob Herring
124724ba675SRob Herring&ssp2 {
125724ba675SRob Herring	#address-cells = <1>;
126724ba675SRob Herring	#size-cells = <0>;
127724ba675SRob Herring	compatible = "fsl,imx28-spi";
128724ba675SRob Herring	pinctrl-names = "default";
129724ba675SRob Herring	pinctrl-0 = <&spi2_pins_a>;
130724ba675SRob Herring	status = "okay";
131724ba675SRob Herring
132724ba675SRob Herring	flash: flash@0 {
133724ba675SRob Herring		#address-cells = <1>;
134724ba675SRob Herring		#size-cells = <1>;
135724ba675SRob Herring		compatible = "everspin,mr25h256", "mr25h256";
136724ba675SRob Herring		spi-max-frequency = <40000000>;
137724ba675SRob Herring		reg = <0>;
138724ba675SRob Herring	};
139724ba675SRob Herring};
140724ba675SRob Herring
141724ba675SRob Herring&usb0 {
142724ba675SRob Herring	vbus-supply = <&reg_usb0_vbus>;
143724ba675SRob Herring	pinctrl-names = "default";
144724ba675SRob Herring	pinctrl-0 = <&usb0_pins_b>;
145724ba675SRob Herring	status = "okay";
146724ba675SRob Herring};
147724ba675SRob Herring
148724ba675SRob Herring&usbphy0 {
149724ba675SRob Herring	status = "okay";
150724ba675SRob Herring};
151