1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2012 Freescale Semiconductor, Inc. 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Author: Fabio Estevam <fabio.estevam@freescale.com> 6f126890aSEmmanuel Vadot */ 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/dts-v1/; 9f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 10f126890aSEmmanuel Vadot#include "imx23.dtsi" 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot/ { 13f126890aSEmmanuel Vadot model = "i.MX23 Olinuxino Low Cost Board"; 14f126890aSEmmanuel Vadot compatible = "olimex,imx23-olinuxino", "fsl,imx23"; 15f126890aSEmmanuel Vadot 16f126890aSEmmanuel Vadot memory@40000000 { 17f126890aSEmmanuel Vadot device_type = "memory"; 18f126890aSEmmanuel Vadot reg = <0x40000000 0x04000000>; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot apb@80000000 { 22*b2d2a78aSEmmanuel Vadot apbh-bus@80000000 { 23f126890aSEmmanuel Vadot ssp0: spi@80010000 { 24f126890aSEmmanuel Vadot compatible = "fsl,imx23-mmc"; 25f126890aSEmmanuel Vadot pinctrl-names = "default"; 26f126890aSEmmanuel Vadot pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_sck_cfg>; 27f126890aSEmmanuel Vadot bus-width = <4>; 28f126890aSEmmanuel Vadot broken-cd; 29f126890aSEmmanuel Vadot status = "okay"; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot pinctrl@80018000 { 33f126890aSEmmanuel Vadot pinctrl-names = "default"; 34f126890aSEmmanuel Vadot pinctrl-0 = <&hog_pins_a>; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot hog_pins_a: hog@0 { 37f126890aSEmmanuel Vadot reg = <0>; 38f126890aSEmmanuel Vadot fsl,pinmux-ids = < 39f126890aSEmmanuel Vadot MX23_PAD_GPMI_ALE__GPIO_0_17 40f126890aSEmmanuel Vadot >; 41f126890aSEmmanuel Vadot fsl,drive-strength = <MXS_DRIVE_4mA>; 42f126890aSEmmanuel Vadot fsl,voltage = <MXS_VOLTAGE_HIGH>; 43f126890aSEmmanuel Vadot fsl,pull-up = <MXS_PULL_DISABLE>; 44f126890aSEmmanuel Vadot }; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot led_pin_gpio2_1: led_gpio2_1@0 { 47f126890aSEmmanuel Vadot reg = <0>; 48f126890aSEmmanuel Vadot fsl,pinmux-ids = < 49f126890aSEmmanuel Vadot MX23_PAD_SSP1_DETECT__GPIO_2_1 50f126890aSEmmanuel Vadot >; 51f126890aSEmmanuel Vadot fsl,drive-strength = <MXS_DRIVE_4mA>; 52f126890aSEmmanuel Vadot fsl,voltage = <MXS_VOLTAGE_HIGH>; 53f126890aSEmmanuel Vadot fsl,pull-up = <MXS_PULL_DISABLE>; 54f126890aSEmmanuel Vadot }; 55f126890aSEmmanuel Vadot }; 56f126890aSEmmanuel Vadot 57f126890aSEmmanuel Vadot ssp1: spi@80034000 { 58f126890aSEmmanuel Vadot #address-cells = <1>; 59f126890aSEmmanuel Vadot #size-cells = <0>; 60f126890aSEmmanuel Vadot compatible = "fsl,imx23-spi"; 61f126890aSEmmanuel Vadot pinctrl-names = "default"; 62f126890aSEmmanuel Vadot pinctrl-0 = <&spi2_pins_a>; 63f126890aSEmmanuel Vadot status = "okay"; 64f126890aSEmmanuel Vadot }; 65f126890aSEmmanuel Vadot }; 66f126890aSEmmanuel Vadot 67*b2d2a78aSEmmanuel Vadot apbx-bus@80040000 { 68f126890aSEmmanuel Vadot lradc@80050000 { 69f126890aSEmmanuel Vadot status = "okay"; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot i2c: i2c@80058000 { 73f126890aSEmmanuel Vadot pinctrl-names = "default"; 74f126890aSEmmanuel Vadot pinctrl-0 = <&i2c_pins_b>; 75f126890aSEmmanuel Vadot status = "okay"; 76f126890aSEmmanuel Vadot }; 77f126890aSEmmanuel Vadot 78f126890aSEmmanuel Vadot duart: serial@80070000 { 79f126890aSEmmanuel Vadot pinctrl-names = "default"; 80f126890aSEmmanuel Vadot pinctrl-0 = <&duart_pins_a>; 81f126890aSEmmanuel Vadot status = "okay"; 82f126890aSEmmanuel Vadot }; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot auart0: serial@8006c000 { 85f126890aSEmmanuel Vadot pinctrl-names = "default"; 86f126890aSEmmanuel Vadot pinctrl-0 = <&auart0_2pins_a>; 87f126890aSEmmanuel Vadot status = "okay"; 88f126890aSEmmanuel Vadot }; 89f126890aSEmmanuel Vadot 90f126890aSEmmanuel Vadot usbphy0: usbphy@8007c000 { 91f126890aSEmmanuel Vadot status = "okay"; 92f126890aSEmmanuel Vadot }; 93f126890aSEmmanuel Vadot }; 94f126890aSEmmanuel Vadot }; 95f126890aSEmmanuel Vadot 96f126890aSEmmanuel Vadot ahb@80080000 { 97f126890aSEmmanuel Vadot usb0: usb@80080000 { 98f126890aSEmmanuel Vadot dr_mode = "host"; 99f126890aSEmmanuel Vadot vbus-supply = <®_usb0_vbus>; 100f126890aSEmmanuel Vadot status = "okay"; 101f126890aSEmmanuel Vadot }; 102f126890aSEmmanuel Vadot }; 103f126890aSEmmanuel Vadot 104aa1a8ff2SEmmanuel Vadot reg_usb0_vbus: regulator-0 { 105f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 106f126890aSEmmanuel Vadot regulator-name = "usb0_vbus"; 107f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 108f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 109f126890aSEmmanuel Vadot enable-active-high; 110f126890aSEmmanuel Vadot startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */ 111f126890aSEmmanuel Vadot gpio = <&gpio0 17 0>; 112f126890aSEmmanuel Vadot }; 113f126890aSEmmanuel Vadot 114f126890aSEmmanuel Vadot leds { 115f126890aSEmmanuel Vadot compatible = "gpio-leds"; 116f126890aSEmmanuel Vadot pinctrl-names = "default"; 117f126890aSEmmanuel Vadot pinctrl-0 = <&led_pin_gpio2_1>; 118f126890aSEmmanuel Vadot 119f126890aSEmmanuel Vadot user { 120f126890aSEmmanuel Vadot label = "green"; 121f126890aSEmmanuel Vadot gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; 122f126890aSEmmanuel Vadot }; 123f126890aSEmmanuel Vadot }; 124f126890aSEmmanuel Vadot}; 125