2012-11-21 15:34:25 +00:00
|
|
|
/*
|
|
|
|
* Device Tree Source for the KZM-A9-GT board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Horms Solutions Ltd.
|
|
|
|
*
|
|
|
|
* Based on sh73a0-kzm9g.dts
|
|
|
|
* 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/;
|
2013-03-19 12:47:43 +00:00
|
|
|
/include/ "sh73a0.dtsi"
|
2013-05-09 15:41:59 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2012-11-21 15:34:25 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "KZM-A9-GT";
|
|
|
|
compatible = "renesas,kzm9g-reference", "renesas,sh73a0";
|
|
|
|
|
2013-04-05 10:00:37 +00:00
|
|
|
cpus {
|
|
|
|
cpu@0 {
|
|
|
|
cpu0-supply = <&vdd_dvfs>;
|
|
|
|
operating-points = <
|
|
|
|
/* kHz uV */
|
|
|
|
1196000 1315000
|
|
|
|
598000 1175000
|
|
|
|
398667 1065000
|
|
|
|
>;
|
|
|
|
voltage-tolerance = <1>; /* 1% */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-11-21 15:34:25 +00:00
|
|
|
chosen {
|
2013-07-29 20:31:41 +00:00
|
|
|
bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200 rw";
|
2012-11-21 15:34:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x41000000 0x1e800000>;
|
|
|
|
};
|
|
|
|
|
2013-02-08 18:38:27 +00:00
|
|
|
reg_1p8v: regulator@0 {
|
2012-11-21 15:34:25 +00:00
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "fixed-1.8V";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2013-02-08 18:38:27 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2013-03-19 12:47:39 +00:00
|
|
|
reg_3p3v: regulator@1 {
|
2013-02-08 18:38:27 +00:00
|
|
|
compatible = "regulator-fixed";
|
2013-03-19 12:47:39 +00:00
|
|
|
regulator-name = "fixed-3.3V";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
2013-02-08 18:38:27 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
2013-03-21 16:05:44 +00:00
|
|
|
|
2013-05-09 15:41:59 +00:00
|
|
|
vmmc_sdhi0: regulator@2 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "SDHI0 Vcc";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
|
|
|
vmmc_sdhi2: regulator@3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "SDHI2 Vcc";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
2013-03-21 16:05:44 +00:00
|
|
|
lan9220@10000000 {
|
|
|
|
compatible = "smsc,lan9220", "smsc,lan9115";
|
|
|
|
reg = <0x10000000 0x100>;
|
|
|
|
phy-mode = "mii";
|
|
|
|
interrupt-parent = <&irqpin0>;
|
|
|
|
interrupts = <3 0>; /* active low */
|
|
|
|
reg-io-width = <4>;
|
|
|
|
smsc,irq-push-pull;
|
|
|
|
smsc,save-mac-address;
|
|
|
|
vddvario-supply = <®_1p8v>;
|
|
|
|
vdd33a-supply = <®_3p3v>;
|
|
|
|
};
|
2013-05-09 22:23:04 +00:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
led1 {
|
|
|
|
gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
led2 {
|
|
|
|
gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
led3 {
|
|
|
|
gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
led4 {
|
|
|
|
gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
2012-11-21 15:34:25 +00:00
|
|
|
};
|
|
|
|
|
2013-04-05 10:00:37 +00:00
|
|
|
&i2c0 {
|
|
|
|
as3711@40 {
|
|
|
|
compatible = "ams,as3711";
|
|
|
|
reg = <0x40>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
vdd_dvfs: sd1 {
|
|
|
|
regulator-name = "1.315V CPU";
|
|
|
|
regulator-min-microvolt = <1050000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
sd2 {
|
|
|
|
regulator-name = "1.8V";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
sd4 {
|
|
|
|
regulator-name = "1.215V";
|
|
|
|
regulator-min-microvolt = <1215000>;
|
|
|
|
regulator-max-microvolt = <1235000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
ldo2 {
|
|
|
|
regulator-name = "2.8V CPU";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
ldo3 {
|
|
|
|
regulator-name = "3.0V CPU";
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
ldo4 {
|
|
|
|
regulator-name = "2.8V";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
ldo5 {
|
|
|
|
regulator-name = "2.8V #2";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
ldo7 {
|
|
|
|
regulator-name = "1.15V CPU";
|
|
|
|
regulator-min-microvolt = <1150000>;
|
|
|
|
regulator-max-microvolt = <1150000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
ldo8 {
|
|
|
|
regulator-name = "1.15V CPU #2";
|
|
|
|
regulator-min-microvolt = <1150000>;
|
|
|
|
regulator-max-microvolt = <1150000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-05-09 15:41:59 +00:00
|
|
|
&i2c3 {
|
|
|
|
pinctrl-0 = <&i2c3_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
2012-11-21 15:34:25 +00:00
|
|
|
&mmcif {
|
2013-05-09 15:41:59 +00:00
|
|
|
pinctrl-0 = <&mmcif_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2013-02-08 18:38:27 +00:00
|
|
|
bus-width = <8>;
|
|
|
|
vmmc-supply = <®_1p8v>;
|
2013-03-19 12:47:43 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-05-09 15:41:59 +00:00
|
|
|
&pfc {
|
|
|
|
pinctrl-0 = <&scifa4_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
i2c3_pins: i2c3 {
|
|
|
|
renesas,groups = "i2c3_1";
|
|
|
|
renesas,function = "i2c3";
|
|
|
|
};
|
|
|
|
|
|
|
|
mmcif_pins: mmcif {
|
|
|
|
mux {
|
|
|
|
renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
|
|
|
|
renesas,function = "mmc0";
|
|
|
|
};
|
|
|
|
cfg {
|
|
|
|
renesas,groups = "mmc0_data8_0";
|
|
|
|
renesas,pins = "PORT279";
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
scifa4_pins: scifa4 {
|
|
|
|
renesas,groups = "scifa4_data", "scifa4_ctrl";
|
|
|
|
renesas,function = "scifa4";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhi0_pins: sdhi0 {
|
|
|
|
renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
|
|
|
|
renesas,function = "sdhi0";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhi2_pins: sdhi2 {
|
|
|
|
renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
|
|
|
|
renesas,function = "sdhi2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-03-19 12:47:43 +00:00
|
|
|
&sdhi0 {
|
2013-05-09 15:41:59 +00:00
|
|
|
pinctrl-0 = <&sdhi0_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2013-05-09 15:41:59 +00:00
|
|
|
vmmc-supply = <&vmmc_sdhi0>;
|
2013-03-19 12:47:43 +00:00
|
|
|
bus-width = <4>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhi2 {
|
2013-05-09 15:41:59 +00:00
|
|
|
pinctrl-0 = <&sdhi2_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2013-05-09 15:41:59 +00:00
|
|
|
vmmc-supply = <&vmmc_sdhi2>;
|
2013-03-19 12:47:43 +00:00
|
|
|
bus-width = <4>;
|
|
|
|
broken-cd;
|
|
|
|
status = "okay";
|
2012-11-21 15:34:25 +00:00
|
|
|
};
|