I want to add dts for a exynos4412 board but usb doesn't work
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The board is FriendlyArm tiny4412 ver.1306.
I have made the mmc2(sd slot) work and place rootfs in it. But I failed in usbhost part(not otg which has been broken by me), which works properly in manufacturer's kernel.
I can't find the ehci controller and root hub at all.
In this board, the usb host is conntected to a external hub to change voltage level.
in dmesg, log shows as below:
[ 1.075000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.075000] ehci-exynos: EHCI EXYNOS driver [ 1.075000] unable to find transceiver of type USB2 PHY [ 1.075000] exynos-ehci 12580000.ehci: no platform data or transceiver defined [ 1.085000] platform 12580000.ehci: Driver exynos-ehci requests
probe deferral
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJSjwn3AAoJEPb4VsMIzTziaFIH/0wxwYrSp0HCSQtCN8v4g9Vj 2YxATdQ/SeTLN6F+h6ggooIlaWOUyH2H+yz73T4YYnh+swqPUGyBoXa6KZNep2na O9xCNWSntELXHKJqrVFPBOBSWkhqf71q4DbApWHZYMvVCa1UhAYqg6AFy5M3gMWl jbMd5SBDwKjIioJhgOgqGa1w2HUp8QNmCACtKl+YagTBNAdv3BJr7egKhWoRqOQR INk2kb3UeptmKeTL08uUcgxMxEAn/W+r53FBjbvuU+TKMccj48kpWpZ513hfKKva W9NmaLWDiuV73kz135o/955lCO7wdrs2cVtp37g6BCc0U+RdUI3tqwyswYFWwg4= =suW2
-----END PGP SIGNATURE-----
/*
* Hardkernel's Exynos4412 based tiny4412 1306 board device tree source *
* Copyright (c) 2013 Tomoya Gitsufuki <[email protected]>
*
* Device tree source file for Friendyarm tiny4412 1306 board which is based on
* Samsung's Exynos4412 SoC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "exynos4412.dtsi"
/ {
model = "Friendly Arm Tiny4412 1306 board based on Exynos4412";
compatible = "friendlyarm,tiny4412-1306", "samsung,exynos4412";
memory {
reg = <0x40000000 0x40000000>;
};
chosen {
bootargs ="root=/dev/mmcblk0p1 rootfstype=ext4 rw console=ttySAC0,115200 init=/sbin/init";
};
leds {
compatible = "gpio-leds";
led1 {
label = "led1:heart";
gpios = <&gpm4 0 1>;
default-state = "on";
linux,default-trigger = "heartbeat";
};
led2 {
label = "led2:mmc0";
gpios = <&gpm4 1 1>;
default-state = "on";
linux,default-trigger = "mmc0";
};
};
regulators {
compatible = "simple-bus";
#address-cells = <1>;
vemmc_reg: regulator-0 {
compatible = "regulator-fixed";
regulator-name = "VMEM_VDD_2.8V";
regulator-max-microvolt = <2800000>;
regulator-min-microvolt = <2800000>;
gpio = <&gpk0 2 0>;
enable-active-high;
};
};/*
mshc@12550000 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
pinctrl-names = "default";
status = "okay";
vmmc-supply = <&vemmc_reg>;
clocks = <&clock 301>, <&clock 149>;
clocks-name = "dwmci", "sclk_dwmci";
clock-frequency = <400000000>;
num-slots = <1>;
supports-highspeed;
broken-cd;
fifo-depth = <0x80>;
card-detect-delay = <200>;
samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>;
slot@0 {
reg = <0>;
bus-width = <8>;
};
};*/
rtc@10070000 {
status = "okay";
};
sdhci@12530000 {
bus-width = <4>;
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
pinctrl-names = "default";
status = "okay";
};
sdhci@1254000 {
bus-width = <4>;
pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4 &sd3_cd>;
pinctrl-names = "default";
status = "okay";
};
usbhost0@12580000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "samsung,exynos4210-usbphy";
reg = <0x12580000 0x100>;
ranges;
clocks = <&clock 2>, <&clock 304>;
clock-names = "xusbxti", "usbhost";
usbphy-sys {
/* USB device and host PHY_CONTROL registers */
reg = <0x10020708 0x8>;
};
};
otg@125B0000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "samsung,exynos4210-usbphy";
reg = <0x125B0000 0x100>;
ranges;
clocks = <&clock 2>, <&clock 305>;
clock-names = "xusbxti", "otg";
usbphy-sys {
/* USB device and host PHY_CONTROL registers */
reg = <0x10020704 0x8>;
};
};
ehci@12580000 {
status = "okay";
};
ohci@12590000 {
status = "okay";
};
codec@13400000 {
samsung,mfc-r = <0x43000000 0x800000>;
samsung,mfc-l = <0x51000000 0x800000>;
status = "okay";
};
serial@13800000 {
status = "okay";
};
serial@13810000 {
status = "okay";
};
serial@13820000 {
status = "okay";
};
serial@13830000 {
status = "okay";
};
fixed-rate-clocks {
xxti {
compatible = "samsung,clock-xxti";
clock-frequency = <0>;
};
xusbxti {
compatible = "samsung,clock-xusbxti";
clock-frequency = <24000000>;
};
};
i2c@13860000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <200000>;
gpios = <&gpd1 2 0 /* SDA */
&gpd1 3 0 /* SCL */>;
wm8960@10 {
compatible = "wlf,wm8960";
reg = <0x10>;
};
};
};