arm64: dts: rockchip: add rk3399 box 0505 board support
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3366-tb.dts
index 243aaff59c08236254400142d2c565e1365dedde..3544b15db73f8931c642b247cf589d094085d32d 100644 (file)
@@ -49,7 +49,7 @@
        compatible = "rockchip,tb", "rockchip,rk3366";
 
        chosen {
-               bootargs = "console=uart,mmio32,0xff690000 clk_ignore_unused";
+               bootargs = "console=uart,mmio32,0xff690000";
        };
 
        ion {
                };
        };
 
+       ramoops_mem: ramoops_mem {
+               reg = <0x0 0x100000 0x0 0x100000>;
+               reg-names = "ramoops_mem";
+       };
+
+       ramoops {
+               compatible = "ramoops";
+               record-size = <0x0 0x10000>;
+               console-size = <0x0 0x80000>;
+               ftrace-size = <0x0 0x10000>;
+               pmsg-size = <0x0 0x50000>;
+               memory-region = <&ramoops_mem>;
+       };
+
        backlight: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm0 0 25000 PWM_POLARITY_INVERTED>;
        };
 };
 
+&tsadc {
+       status = "okay";
+};
+
 &nandc0 {
        status = "okay"; /* enable both for emmc and nand */
 };
        assigned-clock-parents = <&ext_gmac>;
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii_pins>;
-       tx_delay = <0x30>;
-       rx_delay = <0x10>;
+       tx_delay = <0x25>;
+       rx_delay = <0x1d>;
        status = "okay";
 };
 
+&u2phy {
+       vbus_host-gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>;
+};
+
 &dwc_control_usb {
-       host_drv_gpio = <&gpio0 16 GPIO_ACTIVE_LOW>; /* GPIO_C0 = 16 */
        otg_drv_gpio = <&gpio0 10 GPIO_ACTIVE_LOW>; /* GPIO_B2 = 10 */
 
        rockchip,remote_wakeup;
        rockchip,usb_irq_wakeup;
 };
 
-&usb_host0_echi {
+&usb_host0_ehci {
+       assigned-clocks = <&cru SCLK_USBPHY480M>;
+       assigned-clock-parents = <&u2phy>;
        status = "okay";
 };