From 22c1ef955931dc176ea4267fa5facbb56e21bb7d Mon Sep 17 00:00:00 2001 From: zwl Date: Sat, 22 Mar 2014 09:29:44 +0800 Subject: [PATCH] Revert "HDMI: fix rk3288 hdmi display problem" This reverts commit d4ffb530e31f6d29985a5482ba94833656d98fdb. --- arch/arm/boot/dts/rk3288.dtsi | 86 ++++++++++++++++++++++++----------- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 303bd3976b94..43ce02b0059f 100755 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -41,7 +41,6 @@ compatible = "arm,cortex-a15"; reg = <0x500>; }; -/* cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a15"; @@ -57,7 +56,6 @@ compatible = "arm,cortex-a15"; reg = <0x503>; }; -*/ }; gic: interrupt-controller@ffc01000 { @@ -187,6 +185,34 @@ }; */ + timer@ff6b0000 { + compatible = "rockchip,timer"; + reg = <0xff6b0000 0x20>; + interrupts = ; + rockchip,percpu = <0>; + }; + + timer@ff6b0020 { + compatible = "rockchip,timer"; + reg = <0xff6b0020 0x20>; + interrupts = ; + rockchip,percpu = <1>; + }; + + timer@ff6b0040 { + compatible = "rockchip,timer"; + reg = <0xff6b0040 0x20>; + interrupts = ; + rockchip,percpu = <2>; + }; + + timer@ff6b0060 { + compatible = "rockchip,timer"; + reg = <0xff6b0060 0x20>; + interrupts = ; + rockchip,percpu = <3>; + }; + timer@ff810000 { compatible = "rockchip,timer"; reg = <0xff810000 0x20>; @@ -573,7 +599,7 @@ }; edp: edp@ff970000 { - compatible = "rockchip,rk32-edp"; + compatible = "rockchip, rk32-edp"; reg = <0xff970000 0x4000>; interrupts = ; clocks = <&clk_edp>, <&clk_edp_24m>, <&clk_gates16 8>; @@ -757,9 +783,9 @@ clk_vepu { operating-points = < /* KHz uV */ - 200000 1200000 - 300000 1200000 - 400000 1200000 + 200000 1300000 + 300000 1300000 + 400000 1300000 >; status = "okay"; }; @@ -849,8 +875,8 @@ interrupt-names = "otg_id", "otg_bvalid", "otg_linestate", "host0_linestate", "host1_linestate"; - /*gpios = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>,*//*HOST_VBUS_DRV*/ - /* <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;*//*OTG_VBUS_DRV*/ + gpios = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>,/*HOST_VBUS_DRV*/ + <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;/*OTG_VBUS_DRV*/ /*clocks = <&clk_gates7 9>;*/ /*clock-names = "hclk_usb_peri";*/ rockchip,remote_wakeup; @@ -887,27 +913,19 @@ }; usb2: usb@ff500000 { - compatible = "rockchip,rk3288_usbhs_host"; - reg = <0xff500000 0x40000>; + compatible = "rockchip,rk3288_rk_ehci_host"; + reg = <0xff500000 0x20000>; + interrupts = ; /*clocks = <&clk_gates13 6>, <&clk_gates7 7>;*/ /*clock-names = "clk_usbphy2", "hclk_usb2";*/ - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ehci: ehci@ff500000 { - compatible = "rockchip,rk3288_rk_ehci_host"; - reg = <0xff500000 0x20000>; - interrupt-parent = <&gic>; - interrupts = ; - }; + }; - ohci: ohci@ff520000 { - compatible = "rockchip,rk3288_rk_ohci_host"; - reg = <0xff520000 0x20000>; - interrupt-parent = <&gic>; - interrupts = ; - }; + usb3: usb@ff520000 { + compatible = "rockchip,rk3288_rk_ohci_host"; + reg = <0xff520000 0x20000>; + interrupts = ; + /*clocks = <&clk_gates13 6>, <&clk_gates7 7>;*/ + /*clock-names = "clk_usbphy3", "hclk_usb3";*/ }; hsic: hsic@ff5c0000 { @@ -1010,4 +1028,20 @@ >; }; + isp:isp@0xFF910000{ + compatible = "rockchip,isp"; + reg = <0xFF910000 0x10000>; + interrupts = ; + clocks = <&clk_gates16 2>, <&clk_gates16 1>, <&clk_isp>, <&clk_isp_jpe>, <&dummy>, <&clk_cif_out>; + clock_names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe", "pclkin_isp", "clk_vipout"; + pinctrl-names = "default", "isp_dvp8bit","isp_dvp10bit","isp_dvp12bit"; + pinctrl-0 = <&isp_mipi>; + pinctrl-1 = <&isp_mipi &isp_dvp_sync_d2d9>; + pinctrl-2 = <&isp_mipi &isp_dvp_sync_d2d9 &isp_dvp_d0d1>; + pinctrl-3 = <&isp_mipi &isp_dvp_sync_d2d9 &isp_dvp_d0d1 &isp_dvpd10d11>; + + status = "disabled"; + }; + + }; -- 2.34.1