r8a7740-armadillo800eva-reference.dts 1.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * Reference Device Tree Source for the armadillo 800 eva board
 *
 * Copyright (C) 2012 Renesas Solutions Corp.
 *
 * This file is licensed under the terms of the GNU General Public License
 * version 2.  This program is licensed "as is" without any warranty of any
 * kind, whether express or implied.
 */

/dts-v1/;
/include/ "r8a7740.dtsi"
13
#include <dt-bindings/gpio/gpio.h>
14 15 16 17 18 19

/ {
	model = "armadillo 800 eva reference";
	compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740";

	chosen {
20
		bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
	};

	memory {
		device_type = "memory";
		reg = <0x40000000 0x20000000>;
	};

	reg_3p3v: regulator@0 {
		compatible = "regulator-fixed";
		regulator-name = "fixed-3.3V";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
		regulator-boot-on;
	};

37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
	leds {
		compatible = "gpio-leds";
		led1 {
			gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
		};
		led2 {
			gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
		};
		led3 {
			gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
		};
		led4 {
			gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
		};
	};
52 53 54 55 56 57 58 59
};

&i2c0 {
	touchscreen: st1232@55 {
		compatible = "sitronix,st1232";
		reg = <0x55>;
		interrupt-parent = <&irqpin1>;
		interrupts = <2 0>; /* IRQ10: hwirq 2 on irqpin1 */
60 61
		pinctrl-0 = <&st1232_pins>;
		pinctrl-names = "default";
62
		gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
63 64
	};
};
65 66 67 68 69 70 71 72 73

&pfc {
	pinctrl-0 = <&scifa1_pins>;
	pinctrl-names = "default";

	scifa1_pins: scifa1 {
		renesas,groups = "scifa1_data";
		renesas,function = "scifa1";
	};
74 75 76 77 78

	st1232_pins: st1232 {
		renesas,groups = "intc_irq10";
		renesas,function = "intc";
	};
79
};