Advertisement
Guest User

rk3288-ugoos-ut3s.dts

a guest
Jul 11th, 2017
1,361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 49.58 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. / {
  4.     #address-cells = <0x1>;
  5.     #size-cells = <0x1>;
  6.     compatible = "rockchip,rk3288-miqi", "rockchip,rk3288";
  7.     interrupt-parent = <0x1>;
  8.  
  9.     chosen {
  10.     };
  11.  
  12.     wireless-wlan {
  13.         compatible = "wlan-platdata";
  14.  
  15.                 /* wifi_chip_type - wifi chip define
  16.                  * bcmwifi ==> like ap6xxx, rk90x;
  17.                  * rtkwifi ==> like rtl8188xx, rtl8723xx,rtl8812auv;
  18.                  * esp8089 ==> esp8089;
  19.                  * other   ==> for other wifi;
  20.                  */
  21.         wifi_chip_type = "bcmwifi";
  22.         sdio_vref = <1800>;               // 1800mv or 3300mv
  23.  
  24.         power_pmu_regulator = "act_ldo3";
  25.         power_pmu_enable_level = <1>;     // 1->HIGH, 0->LOW
  26.  
  27.         vref_pmu_regulator = "act_ldo3";
  28.         vref_pmu_enable_level = <1>;      // 1->HIGH, 0->LOW
  29.  
  30.         WIFI,poweren_gpio = <&{/pinctrl/gpio4@ff7b0000} 0x1c 0x0>;
  31.         WIFI,host_wake_irq = <&{/pinctrl/gpio4@ff7b0000} 0x1e 0x0>;
  32.  
  33.         status = "okay";
  34.     };
  35.  
  36.     wireless-bluetooth {
  37.         compatible = "bluetooth-platdata";
  38.         uart_rts_gpios = <&{/pinctrl/gpio4@ff7b0000} 0x13 0x1>;
  39.         pinctrl-names = "default", "rts_gpio";
  40.         pinctrl-0 = <&{/pinctrl/uart0/uart0-rts}>;
  41.         pinctrl-1 = <&{/pinctrl/uart0/uart0-rts-gpio}>;
  42.         BT,power_gpio = <&{/pinctrl/gpio4@ff7b0000} 0x1b 0x0>;
  43.         BT,reset_gpio = <&{/pinctrl/gpio4@ff7b0000} 0x1d 0x0>;
  44.         BT,wake_gpio = <&{/pinctrl/gpio4@ff7b0000} 0x1a 0x0>;
  45.         BT,wake_host_irq = <&{/pinctrl/gpio4@ff7b0000} 0x1f 0x0>;
  46.         status = "okay";
  47.     };
  48.  
  49.     aliases {
  50.         i2c0 = "/i2c@ff650000";
  51.         i2c1 = "/i2c@ff140000";
  52.         i2c2 = "/i2c@ff660000";
  53.         i2c3 = "/i2c@ff150000";
  54.         i2c4 = "/i2c@ff160000";
  55.         i2c5 = "/i2c@ff170000";
  56.         mshc0 = "/dwmmc@ff0f0000";
  57.         mshc1 = "/dwmmc@ff0c0000";
  58.         mshc2 = "/dwmmc@ff0d0000";
  59.         mshc3 = "/dwmmc@ff0e0000";
  60.         serial0 = "/serial@ff180000";
  61.         serial1 = "/serial@ff190000";
  62.         serial2 = "/serial@ff690000";
  63.         serial3 = "/serial@ff1b0000";
  64.         serial4 = "/serial@ff1c0000";
  65.         spi0 = "/spi@ff110000";
  66.         spi1 = "/spi@ff120000";
  67.         spi2 = "/spi@ff130000";
  68.     };
  69.  
  70.     memory {
  71.         device_type = "memory";
  72.         reg = <0x0 0x80000000>;
  73.     };
  74.  
  75.     arm-pmu {
  76.         compatible = "arm,cortex-a12-pmu";
  77.         interrupts = <0x0 0x97 0x4 0x0 0x98 0x4 0x0 0x99 0x4 0x0 0x9a 0x4>;
  78.         interrupt-affinity = <0x2 0x3 0x4 0x5>;
  79.     };
  80.  
  81.     cpus {
  82.         #address-cells = <0x1>;
  83.         #size-cells = <0x0>;
  84.         enable-method = "rockchip,rk3066-smp";
  85.         rockchip,pmu = <0x6>;
  86.  
  87.         cpu@500 {
  88.             device_type = "cpu";
  89.             compatible = "arm,cortex-a12";
  90.             reg = <0x500>;
  91.             resets = <0x7 0x0>;
  92.             operating-points = <0x1b7740 0x155cc0 0x1a0040 0x149970 0x188940 0x13d620 0x171240 0x1312d0 0x159b40 0x124f80 0x124f80 0x10c8e0 0xf6180 0x100590>;
  93.             #cooling-cells = <0x2>;
  94.             clock-latency = <0x9c40>;
  95.             clocks = <0x7 0x6>;
  96.             cpu0-supply = <0x8>;
  97.             linux,phandle = <0x2>;
  98.             phandle = <0x2>;
  99.         };
  100.  
  101.         cpu@501 {
  102.             device_type = "cpu";
  103.             compatible = "arm,cortex-a12";
  104.             reg = <0x501>;
  105.             resets = <0x7 0x1>;
  106.             linux,phandle = <0x3>;
  107.             phandle = <0x3>;
  108.         };
  109.  
  110.         cpu@502 {
  111.             device_type = "cpu";
  112.             compatible = "arm,cortex-a12";
  113.             reg = <0x502>;
  114.             resets = <0x7 0x2>;
  115.             linux,phandle = <0x4>;
  116.             phandle = <0x4>;
  117.         };
  118.  
  119.         cpu@503 {
  120.             device_type = "cpu";
  121.             compatible = "arm,cortex-a12";
  122.             reg = <0x503>;
  123.             resets = <0x7 0x3>;
  124.             linux,phandle = <0x5>;
  125.             phandle = <0x5>;
  126.         };
  127.     };
  128.  
  129.     amba {
  130.         compatible = "arm,amba-bus";
  131.         #address-cells = <0x1>;
  132.         #size-cells = <0x1>;
  133.         ranges;
  134.  
  135.         dma-controller@ff250000 {
  136.             compatible = "arm,pl330", "arm,primecell";
  137.             reg = <0xff250000 0x4000>;
  138.             interrupts = <0x0 0x2 0x4 0x0 0x3 0x4>;
  139.             #dma-cells = <0x1>;
  140.             arm,pl330-broken-no-flushp;
  141.             peripherals-req-type-burst;
  142.             clocks = <0x7 0xc2>;
  143.             clock-names = "apb_pclk";
  144.             linux,phandle = <0x17>;
  145.             phandle = <0x17>;
  146.         };
  147.  
  148.         dma-controller@ff600000 {
  149.             compatible = "arm,pl330", "arm,primecell";
  150.             reg = <0xff600000 0x4000>;
  151.             interrupts = <0x0 0x0 0x4 0x0 0x1 0x4>;
  152.             #dma-cells = <0x1>;
  153.             arm,pl330-broken-no-flushp;
  154.             peripherals-req-type-burst;
  155.             clocks = <0x7 0xc1>;
  156.             clock-names = "apb_pclk";
  157.             status = "disabled";
  158.         };
  159.  
  160.         dma-controller@ffb20000 {
  161.             compatible = "arm,pl330", "arm,primecell";
  162.             reg = <0xffb20000 0x4000>;
  163.             interrupts = <0x0 0x0 0x4 0x0 0x1 0x4>;
  164.             #dma-cells = <0x1>;
  165.             arm,pl330-broken-no-flushp;
  166.             peripherals-req-type-burst;
  167.             clocks = <0x7 0xc1>;
  168.             clock-names = "apb_pclk";
  169.             linux,phandle = <0x48>;
  170.             phandle = <0x48>;
  171.         };
  172.     };
  173.  
  174.     reserved-memory {
  175.         #address-cells = <0x1>;
  176.         #size-cells = <0x1>;
  177.         ranges;
  178.  
  179.         dma-unusable@fe000000 {
  180.             reg = <0xfe000000 0x1000000>;
  181.         };
  182.     };
  183.  
  184.     oscillator {
  185.         compatible = "fixed-clock";
  186.         clock-frequency = <0x16e3600>;
  187.         clock-output-names = "xin24m";
  188.         #clock-cells = <0x0>;
  189.         linux,phandle = <0xa>;
  190.         phandle = <0xa>;
  191.     };
  192.  
  193.     edp-phy {
  194.         compatible = "rockchip,rk3288-dp-phy";
  195.         clocks = <0x7 0x68>;
  196.         clock-names = "24m";
  197.         rockchip,grf = <0x9>;
  198.         #phy-cells = <0x0>;
  199.         status = "disabled";
  200.         linux,phandle = <0x58>;
  201.         phandle = <0x58>;
  202.     };
  203.  
  204.     timer {
  205.         compatible = "arm,armv7-timer";
  206.         arm,cpu-registers-not-fw-configured;
  207.         interrupts = <0x1 0xd 0xf04 0x1 0xe 0xf04 0x1 0xb 0xf04 0x1 0xa 0xf04>;
  208.         clock-frequency = <0x16e3600>;
  209.     };
  210.  
  211.     timer@ff810000 {
  212.         compatible = "rockchip,rk3288-timer";
  213.         reg = <0xff810000 0x20>;
  214.         interrupts = <0x0 0x48 0x4>;
  215.         clocks = <0xa 0x7 0x161>;
  216.         clock-names = "timer", "pclk";
  217.     };
  218.  
  219.     display-subsystem {
  220.         compatible = "rockchip,display-subsystem";
  221.         ports = <0xb 0xc>;
  222.     };
  223.  
  224.     dwmmc@ff0c0000 {
  225.         compatible = "rockchip,rk3288-dw-mshc";
  226.         clock-freq-min-max = <0x61a80 0x8f0d180>;
  227.         clocks = <0x7 0x1c8 0x7 0x44 0x7 0x72 0x7 0x76>;
  228.         clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
  229.         fifo-depth = <0x100>;
  230.         interrupts = <0x0 0x20 0x4>;
  231.         reg = <0xff0c0000 0x4000>;
  232.         status = "okay";
  233.         supports-sd;
  234.         bus-width = <0x4>;
  235.         cap-mmc-highspeed;
  236.         sd-uhs-sdr12;
  237.         sd-uhs-sdr25;
  238.         sd-uhs-sdr50;
  239.         sd-uhs-sdr104;
  240.         cap-sd-highspeed;
  241.         card-detect-delay = <0xc8>;
  242.         disable-wp;
  243.         num-slots = <0x1>;
  244.         pinctrl-names = "default";
  245.         pinctrl-0 = <0xd 0xe 0xf 0x10>;
  246.         vmmc-supply = <0x11>;
  247.         vqmmc-supply = <0x12>;
  248.     };
  249.  
  250.     dwmmc@ff0d0000 {
  251.         compatible = "rockchip,rk3288-dw-mshc";
  252.         clock-freq-min-max = <0x61a80 0x8f0d180>;
  253.         clocks = <0x7 0x1c9 0x7 0x45 0x7 0x73 0x7 0x77>;
  254.         clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
  255.         fifo-depth = <0x100>;
  256.         interrupts = <0x0 0x21 0x4>;
  257.         reg = <0xff0d0000 0x4000>;
  258.         status = "disabled";
  259.     };
  260.  
  261.     dwmmc@ff0e0000 {
  262.         compatible = "rockchip,rk3288-dw-mshc";
  263.         clock-freq-min-max = <0x61a80 0x8f0d180>;
  264.         clocks = <0x7 0x1ca 0x7 0x46 0x7 0x74 0x7 0x78>;
  265.         clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
  266.         fifo-depth = <0x100>;
  267.         interrupts = <0x0 0x22 0x4>;
  268.         reg = <0xff0e0000 0x4000>;
  269.         status = "disabled";
  270.     };
  271.  
  272.     dwmmc@ff0f0000 {
  273.         compatible = "rockchip,rk3288-dw-mshc";
  274.         clock-freq-min-max = <0x61a80 0x8f0d180>;
  275.         clocks = <0x7 0x1cb 0x7 0x47 0x7 0x75 0x7 0x79>;
  276.         clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
  277.         fifo-depth = <0x100>;
  278.         interrupts = <0x0 0x23 0x4>;
  279.         reg = <0xff0f0000 0x4000>;
  280.         status = "okay";
  281.         supports-emmc;
  282.         bus-width = <0x8>;
  283.         cap-mmc-highspeed;
  284.         disable-wp;
  285.         non-removable;
  286.         clock-frequency = <0x47868c0>;
  287.         num-slots = <0x1>;
  288.         pinctrl-names = "default";
  289.         pinctrl-0 = <0x13 0x14 0x15 0x16>;
  290.     };
  291.  
  292.     saradc@ff100000 {
  293.         compatible = "rockchip,saradc";
  294.         reg = <0xff100000 0x100>;
  295.         interrupts = <0x0 0x24 0x4>;
  296.         #io-channel-cells = <0x1>;
  297.         clocks = <0x7 0x49 0x7 0x15b>;
  298.         clock-names = "saradc", "apb_pclk";
  299.         status = "disabled";
  300.     };
  301.  
  302.     spi@ff110000 {
  303.         compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
  304.         clocks = <0x7 0x41 0x7 0x152>;
  305.         clock-names = "spiclk", "apb_pclk";
  306.         dmas = <0x17 0xb 0x17 0xc>;
  307.         dma-names = "tx", "rx";
  308.         interrupts = <0x0 0x2c 0x4>;
  309.         pinctrl-names = "default";
  310.         pinctrl-0 = <0x18 0x19 0x1a 0x1b>;
  311.         reg = <0xff110000 0x1000>;
  312.         #address-cells = <0x1>;
  313.         #size-cells = <0x0>;
  314.         status = "disabled";
  315.     };
  316.  
  317.     spi@ff120000 {
  318.         compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
  319.         clocks = <0x7 0x42 0x7 0x153>;
  320.         clock-names = "spiclk", "apb_pclk";
  321.         dmas = <0x17 0xd 0x17 0xe>;
  322.         dma-names = "tx", "rx";
  323.         interrupts = <0x0 0x2d 0x4>;
  324.         pinctrl-names = "default";
  325.         pinctrl-0 = <0x1c 0x1d 0x1e 0x1f>;
  326.         reg = <0xff120000 0x1000>;
  327.         #address-cells = <0x1>;
  328.         #size-cells = <0x0>;
  329.         status = "disabled";
  330.     };
  331.  
  332.     spi@ff130000 {
  333.         compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
  334.         clocks = <0x7 0x43 0x7 0x154>;
  335.         clock-names = "spiclk", "apb_pclk";
  336.         dmas = <0x17 0xf 0x17 0x10>;
  337.         dma-names = "tx", "rx";
  338.         interrupts = <0x0 0x2e 0x4>;
  339.         pinctrl-names = "default";
  340.         pinctrl-0 = <0x20 0x21 0x22 0x23>;
  341.         reg = <0xff130000 0x1000>;
  342.         #address-cells = <0x1>;
  343.         #size-cells = <0x0>;
  344.         status = "okay";
  345.     };
  346.  
  347.     i2c@ff140000 {
  348.         compatible = "rockchip,rk3288-i2c";
  349.         reg = <0xff140000 0x1000>;
  350.         interrupts = <0x0 0x3e 0x4>;
  351.         #address-cells = <0x1>;
  352.         #size-cells = <0x0>;
  353.         clock-names = "i2c";
  354.         clocks = <0x7 0x14d>;
  355.         pinctrl-names = "default";
  356.         pinctrl-0 = <0x24>;
  357.         status = "okay";
  358.     };
  359.  
  360.     i2c@ff150000 {
  361.         compatible = "rockchip,rk3288-i2c";
  362.         reg = <0xff150000 0x1000>;
  363.         interrupts = <0x0 0x3f 0x4>;
  364.         #address-cells = <0x1>;
  365.         #size-cells = <0x0>;
  366.         clock-names = "i2c";
  367.         clocks = <0x7 0x14f>;
  368.         pinctrl-names = "default";
  369.         pinctrl-0 = <0x25>;
  370.         status = "disabled";
  371.     };
  372.  
  373.     i2c@ff160000 {
  374.         compatible = "rockchip,rk3288-i2c";
  375.         reg = <0xff160000 0x1000>;
  376.         interrupts = <0x0 0x40 0x4>;
  377.         #address-cells = <0x1>;
  378.         #size-cells = <0x0>;
  379.         clock-names = "i2c";
  380.         clocks = <0x7 0x150>;
  381.         pinctrl-names = "default";
  382.         pinctrl-0 = <0x26>;
  383.         status = "disabled";
  384.     };
  385.  
  386.     i2c@ff170000 {
  387.         compatible = "rockchip,rk3288-i2c";
  388.         reg = <0xff170000 0x1000>;
  389.         interrupts = <0x0 0x41 0x4>;
  390.         #address-cells = <0x1>;
  391.         #size-cells = <0x0>;
  392.         clock-names = "i2c";
  393.         clocks = <0x7 0x151>;
  394.         pinctrl-names = "default";
  395.         pinctrl-0 = <0x27>;
  396.         status = "okay";
  397.         linux,phandle = <0x5e>;
  398.         phandle = <0x5e>;
  399.     };
  400.  
  401.     serial@ff180000 {
  402.         compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
  403.         reg = <0xff180000 0x100>;
  404.         interrupts = <0x0 0x37 0x4>;
  405.         reg-shift = <0x2>;
  406.         reg-io-width = <0x4>;
  407.         dmas = <&{/amba/dma-controller@ff250000} 1>, <&{/amba/dma-controller@ff250000} 2>;
  408.         #dma-cells = <2>;
  409.  
  410.         clocks = <0x7 0x4d 0x7 0x155>;
  411.         clock-names = "baudclk", "apb_pclk";
  412.         pinctrl-names = "default";
  413.         pinctrl-0 = <&{/pinctrl/uart0/uart0-xfer} &{/pinctrl/uart0/uart0-cts}>;
  414.         // pinctrl-0 = <&{/pinctrl/uart0/uart0-xfer}>;
  415.         status = "okay";
  416.         dma-names = "!tx", "!rx";
  417.     };
  418.  
  419.     serial@ff190000 {
  420.         compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
  421.         reg = <0xff190000 0x100>;
  422.         interrupts = <0x0 0x38 0x4>;
  423.         reg-shift = <0x2>;
  424.         reg-io-width = <0x4>;
  425.         clocks = <0x7 0x4e 0x7 0x156>;
  426.         clock-names = "baudclk", "apb_pclk";
  427.         pinctrl-names = "default";
  428.         pinctrl-0 = <0x29>;
  429.         status = "disabled";
  430.     };
  431.  
  432.     serial@ff690000 {
  433.         compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
  434.         reg = <0xff690000 0x100>;
  435.         interrupts = <0x0 0x39 0x4>;
  436.         reg-shift = <0x2>;
  437.         reg-io-width = <0x4>;
  438.         clocks = <0x7 0x4f 0x7 0x157>;
  439.         clock-names = "baudclk", "apb_pclk";
  440.         pinctrl-names = "default";
  441.         pinctrl-0 = <0x2a>;
  442.         status = "okay";
  443.     };
  444.  
  445.     serial@ff1b0000 {
  446.         compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
  447.         reg = <0xff1b0000 0x100>;
  448.         interrupts = <0x0 0x3a 0x4>;
  449.         reg-shift = <0x2>;
  450.         reg-io-width = <0x4>;
  451.         clocks = <0x7 0x50 0x7 0x158>;
  452.         clock-names = "baudclk", "apb_pclk";
  453.         pinctrl-names = "default";
  454.         pinctrl-0 = <0x2b>;
  455.         status = "okay";
  456.     };
  457.  
  458.     serial@ff1c0000 {
  459.         compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
  460.         reg = <0xff1c0000 0x100>;
  461.         interrupts = <0x0 0x3b 0x4>;
  462.         reg-shift = <0x2>;
  463.         reg-io-width = <0x4>;
  464.         clocks = <0x7 0x51 0x7 0x159>;
  465.         clock-names = "baudclk", "apb_pclk";
  466.         pinctrl-names = "default";
  467.         pinctrl-0 = <0x2c>;
  468.         status = "disabled";
  469.     };
  470.  
  471.     thermal-zones {
  472.  
  473.         reserve_thermal {
  474.             polling-delay-passive = <0x3e8>;
  475.             polling-delay = <0x1388>;
  476.             thermal-sensors = <0x2d 0x0>;
  477.         };
  478.  
  479.         cpu_thermal {
  480.             polling-delay-passive = <0x3e8>;
  481.             polling-delay = <0x1388>;
  482.             thermal-sensors = <0x2d 0x1>;
  483.  
  484.             trips {
  485.  
  486.                 cpu_alert0: cpu-alert0 {
  487.                     temperature = <65000>; /* millicelsius */
  488.                     hysteresis = <2000>; /* millicelsius */
  489.                     type = "active";
  490.                 };
  491.                 cpu_alert1: cpu_alert1 {
  492.                     temperature = <0x11170>;
  493.                     hysteresis = <0x7d0>;
  494.                     type = "passive";
  495.                     linux,phandle = <0x2e>;
  496.                     phandle = <0x2e>;
  497.                 };
  498.  
  499.                 cpu_crit {
  500.                     temperature = <0x15f90>;
  501.                     hysteresis = <0x7d0>;
  502.                     type = "critical";
  503.                 };
  504.             };
  505.  
  506.             cooling-maps {
  507.  
  508.                 map2 {
  509.                     trip = <0x2e>;
  510.                     cooling-device = <0x2 0xffffffff 0xffffffff>;
  511.                 };
  512.                 map0 {
  513.                     trip = <&cpu_alert0>;
  514.                     cooling-device = <&{/gpio-fan} 0xffffffff 0xffffffff>;
  515.                 };
  516.                 map1 {
  517.                     trip = <&cpu_alert1>;
  518.                     cooling-device = <&{/gpio-fan} 1 0xffffffff>;
  519.                 };
  520.  
  521.             };
  522.         };
  523.  
  524.         gpu_thermal {
  525.             polling-delay-passive = <0x3e8>;
  526.             polling-delay = <0x1388>;
  527.             thermal-sensors = <0x2d 0x2>;
  528.  
  529.             trips {
  530.  
  531.                 gpu_alert0: gpu-alert0 {
  532.                     temperature = <65000>; /* millicelsius */
  533.                     hysteresis = <2000>; /* millicelsius */
  534.                     type = "active";
  535.                 };
  536.                 gpu_alert1: gpu_alert1 {
  537.                     temperature = <0x11170>;
  538.                     hysteresis = <0x7d0>;
  539.                     type = "passive";
  540.                     linux,phandle = <0x2f>;
  541.                     phandle = <0x2f>;
  542.                 };
  543.  
  544.                 gpu_crit {
  545.                     temperature = <0x15f90>;
  546.                     hysteresis = <0x7d0>;
  547.                     type = "critical";
  548.                 };
  549.             };
  550.  
  551.             cooling-maps {
  552.  
  553.                 map2 {
  554.                     trip = <0x2f>;
  555.                     cooling-device = <0x2 0xffffffff 0xffffffff>;
  556.                 };
  557.                 map0 {
  558.                     trip = <&gpu_alert0>;
  559.                     cooling-device = <&{/gpio-fan} 0xffffffff 0xffffffff>;
  560.                 };
  561.                 map1 {
  562.                     trip = <&gpu_alert1>;
  563.                     cooling-device = <&{/gpio-fan} 1 0xffffffff>;
  564.                 };
  565.             };
  566.         };
  567.     };
  568.  
  569.     tsadc@ff280000 {
  570.         compatible = "rockchip,rk3288-tsadc";
  571.         reg = <0xff280000 0x100>;
  572.         interrupts = <0x0 0x25 0x4>;
  573.         clocks = <0x7 0x48 0x7 0x15a>;
  574.         clock-names = "tsadc", "apb_pclk";
  575.         resets = <0x7 0x9f>;
  576.         reset-names = "tsadc-apb";
  577.         pinctrl-names = "init", "default", "sleep";
  578.         pinctrl-0 = <0x30>;
  579.         pinctrl-1 = <0x31>;
  580.         pinctrl-2 = <0x30>;
  581.         #thermal-sensor-cells = <0x1>;
  582.         rockchip,hw-tshut-temp = <0x17318>;
  583.         status = "okay";
  584.         rockchip,hw-tshut-mode = <0x1>;
  585.         rockchip,hw-tshut-polarity = <0x1>;
  586.         linux,phandle = <0x2d>;
  587.         phandle = <0x2d>;
  588.     };
  589.  
  590.     ethernet@ff290000 {
  591.         compatible = "rockchip,rk3288-gmac";
  592.         reg = <0xff290000 0x10000>;
  593.         interrupts = <0x0 0x1b 0x4>;
  594.         interrupt-names = "macirq";
  595.         rockchip,grf = <0x9>;
  596.         clocks = <0x7 0x97 0x7 0x66 0x7 0x67 0x7 0x63 0x7 0x98 0x7 0xc4 0x7 0x15d>;
  597.         clock-names = "stmmaceth", "mac_clk_rx", "mac_clk_tx", "clk_mac_ref", "clk_mac_refout", "aclk_mac", "pclk_mac";
  598.         resets = <0x7 0x42>;
  599.         reset-names = "stmmaceth";
  600.         status = "ok";
  601.         phy-supply = <0x32>;
  602.         phy-mode = "rgmii";
  603.         clock_in_out = "input";
  604.         snps,reset-gpio = <0x33 0x7 0x0>;
  605.         snps,reset-active-low;
  606.         snps,reset-delays-us = <0x0 0x2710 0xf4240>;
  607.         assigned-clocks = <0x7 0x97>;
  608.         assigned-clock-parents = <0x34>;
  609.         pinctrl-names = "default";
  610.         pinctrl-0 = <0x35>;
  611.         tx_delay = <0x30>;
  612.         rx_delay = <0x10>;
  613.     };
  614.  
  615.     usb@ff500000 {
  616.         compatible = "generic-ehci";
  617.         reg = <0xff500000 0x100>;
  618.         interrupts = <0x0 0x18 0x4>;
  619.         clocks = <0x7 0x1c2>;
  620.         clock-names = "usbhost";
  621.         phys = <0x36>;
  622.         phy-names = "usb";
  623.         status = "okay";
  624.     };
  625.  
  626.     usb@ff540000 {
  627.         compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2";
  628.         reg = <0xff540000 0x40000>;
  629.         interrupts = <0x0 0x19 0x4>;
  630.         clocks = <0x7 0x1c3>;
  631.         clock-names = "otg";
  632.         dr_mode = "host";
  633.         phys = <0x37>;
  634.         phy-names = "usb2-phy";
  635.         status = "okay";
  636.     };
  637.  
  638.     usb@ff580000 {
  639.         compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2";
  640.         reg = <0xff580000 0x40000>;
  641.         interrupts = <0x0 0x17 0x4>;
  642.         clocks = <0x7 0x1c1>;
  643.         clock-names = "otg";
  644.         dr_mode = "otg";
  645.         g-np-tx-fifo-size = <0x10>;
  646.         g-rx-fifo-size = <0x113>;
  647.         g-tx-fifo-size = <0x100 0x80 0x80 0x40 0x40 0x20>;
  648.         g-use-dma;
  649.         phys = <0x38>;
  650.         phy-names = "usb2-phy";
  651.         status = "disabled";
  652.     };
  653.  
  654.     usb@ff5c0000 {
  655.         compatible = "generic-ehci";
  656.         reg = <0xff5c0000 0x100>;
  657.         interrupts = <0x0 0x1a 0x4>;
  658.         clocks = <0x7 0x1c4>;
  659.         clock-names = "usbhost";
  660.         status = "disabled";
  661.     };
  662.  
  663.     dmc@ff610000 {
  664.         compatible = "rockchip,rk3288-dmc", "syscon";
  665.         rockchip,cru = <0x7>;
  666.         rockchip,grf = <0x9>;
  667.         rockchip,pmu = <0x6>;
  668.         rockchip,sgrf = <0x39>;
  669.         rockchip,noc = <0x3a>;
  670.         reg = <0xff610000 0x3fc 0xff620000 0x294 0xff630000 0x3fc 0xff640000 0x294>;
  671.         rockchip,sram = <0x3b>;
  672.         clocks = <0x7 0x16c 0x7 0x16d 0x7 0x16e 0x7 0x16f 0x7 0x6>;
  673.         clock-names = "pclk_ddrupctl0", "pclk_publ0", "pclk_ddrupctl1", "pclk_publ1", "arm_clk";
  674.         status = "disabled";
  675.         logic-supply = <0x3c>;
  676.         rockchip,odt-disable-freq = <0x13d92d40>;
  677.         rockchip,dll-disable-freq = <0x13d92d40>;
  678.         rockchip,sr-enable-freq = <0x13d92d40>;
  679.         rockchip,auto-self-refresh-cnt = <0x0>;
  680.         rockchip,auto-power-down-cnt = <0x40>;
  681.         rockchip,ddr-speed-bin = <0x15>;
  682.         rockchip,trcd = <0xa>;
  683.         rockchip,trp = <0xa>;
  684.         rockchip,pd-enable-freq = <0x1fc4ef40>;
  685.         rockchip,dmc-disable-freq = <0x27b25a80>;
  686.         operating-points = <0x30d40 0x100590 0x514c8 0x10c8e0 0x82208 0x118c30 0x9e340 0x124f80>;
  687.     };
  688.  
  689.     i2c@ff650000 {
  690.         compatible = "rockchip,rk3288-i2c";
  691.         reg = <0xff650000 0x1000>;
  692.         interrupts = <0x0 0x3c 0x4>;
  693.         #address-cells = <0x1>;
  694.         #size-cells = <0x0>;
  695.         clock-names = "i2c";
  696.         clocks = <0x7 0x14c>;
  697.         pinctrl-names = "default";
  698.         pinctrl-0 = <0x3d>;
  699.         status = "okay";
  700.         clock-frequency = <0x61a80>;
  701.  
  702.         syr827@40 {
  703.             compatible = "silergy,syr827";
  704.             fcs,suspend-voltage-selector = <0x1>;
  705.             reg = <0x40>;
  706.             regulator-name = "vdd_cpu";
  707.             regulator-min-microvolt = <0xadf34>;
  708.             regulator-max-microvolt = <0x16e360>;
  709.             regulator-always-on;
  710.             regulator-boot-on;
  711.             regulator-enable-ramp-delay = <0x12c>;
  712.             regulator-ramp-delay = <0x1f40>;
  713.             vin-supply = <0x3e>;
  714.             linux,phandle = <0x8>;
  715.             phandle = <0x8>;
  716.         };
  717.  
  718.         syr828@41 {
  719.             compatible = "silergy,syr828";
  720.             fcs,suspend-voltage-selector = <0x1>;
  721.             reg = <0x41>;
  722.             regulator-name = "vdd_gpu";
  723.             regulator-min-microvolt = <0xadf34>;
  724.             regulator-max-microvolt = <0x16e360>;
  725.             regulator-always-on;
  726.             vin-supply = <0x3e>;
  727.             linux,phandle = <0x61>;
  728.             phandle = <0x61>;
  729.         };
  730.  
  731.         hym8563@51 {
  732.             compatible = "haoyu,hym8563";
  733.             reg = <0x51>;
  734.             interrupt-parent = <0x3f>;
  735.             interrupts = <0x4 0x2>;
  736.             pinctrl-names = "default";
  737.             pinctrl-0 = <0x40>;
  738.             #clock-cells = <0x0>;
  739.             clock-output-names = "xin32k";
  740.         };
  741.  
  742.         act8846@5a {
  743.             compatible = "active-semi,act8846";
  744.             reg = <0x5a>;
  745.             status = "okay";
  746.             system-power-controller;
  747.             vp1-supply = <0x3e>;
  748.             vp2-supply = <0x3e>;
  749.             vp3-supply = <0x3e>;
  750.             vp4-supply = <0x3e>;
  751.             inl1-supply = <0x41>;
  752.             inl2-supply = <0x3e>;
  753.             inl3-supply = <0x42>;
  754.  
  755.             regulators {
  756.  
  757.                 REG1 {
  758.                     regulator-name = "VCC_DDR";
  759.                     regulator-min-microvolt = <0x124f80>;
  760.                     regulator-max-microvolt = <0x124f80>;
  761.                     regulator-always-on;
  762.                 };
  763.  
  764.                 REG2 {
  765.                     regulator-name = "VCC_IO";
  766.                     regulator-min-microvolt = <0x325aa0>;
  767.                     regulator-max-microvolt = <0x325aa0>;
  768.                     regulator-always-on;
  769.                     linux,phandle = <0x41>;
  770.                     phandle = <0x41>;
  771.                 };
  772.  
  773.                 REG3 {
  774.                     regulator-name = "VDD_LOG";
  775.                     regulator-min-microvolt = <0xaae60>;
  776.                     regulator-max-microvolt = <0x16e360>;
  777.                     regulator-always-on;
  778.                     regulator-boot-on;
  779.                     linux,phandle = <0x3c>;
  780.                     phandle = <0x3c>;
  781.                 };
  782.  
  783.                 REG4 {
  784.                     regulator-name = "VCC_20";
  785.                     regulator-min-microvolt = <0x1e8480>;
  786.                     regulator-max-microvolt = <0x1e8480>;
  787.                     regulator-always-on;
  788.                     linux,phandle = <0x42>;
  789.                     phandle = <0x42>;
  790.                 };
  791.  
  792.                 REG5 {
  793.                     regulator-name = "VCCIO_SD";
  794.                     regulator-min-microvolt = <0x1b7740>;
  795.                     regulator-max-microvolt = <0x325aa0>;
  796.                     regulator-always-on;
  797.                     linux,phandle = <0x12>;
  798.                     phandle = <0x12>;
  799.                 };
  800.  
  801.                 REG6 {
  802.                     regulator-name = "VDD10_LCD";
  803.                     regulator-min-microvolt = <0xf4240>;
  804.                     regulator-max-microvolt = <0xf4240>;
  805.                     regulator-always-on;
  806.                 };
  807.  
  808.                 REG7 {
  809.                     regulator-name = "VCCA_CODEC";
  810.                     regulator-min-microvolt = <0x325aa0>;
  811.                     regulator-max-microvolt = <0x325aa0>;
  812.                     regulator-always-on;
  813.                 };
  814.  
  815.                 REG8 {
  816.                     regulator-name = "VCCA_TP";
  817.                     regulator-min-microvolt = <0x325aa0>;
  818.                     regulator-max-microvolt = <0x325aa0>;
  819.                     regulator-always-on;
  820.                 };
  821.  
  822.                 REG9 {
  823.                     regulator-name = "VCCIO_PMU";
  824.                     regulator-min-microvolt = <0x325aa0>;
  825.                     regulator-max-microvolt = <0x325aa0>;
  826.                     regulator-always-on;
  827.                 };
  828.  
  829.                 REG10 {
  830.                     regulator-name = "VDD_10";
  831.                     regulator-min-microvolt = <0xf4240>;
  832.                     regulator-max-microvolt = <0xf4240>;
  833.                     regulator-always-on;
  834.                 };
  835.  
  836.                 REG11 {
  837.                     regulator-name = "VCC_18";
  838.                     regulator-min-microvolt = <0x1b7740>;
  839.                     regulator-max-microvolt = <0x1b7740>;
  840.                     regulator-always-on;
  841.                 };
  842.  
  843.                 REG12 {
  844.                     regulator-name = "VCC18_LCD";
  845.                     regulator-min-microvolt = <0x1b7740>;
  846.                     regulator-max-microvolt = <0x1b7740>;
  847.                     regulator-always-on;
  848.                 };
  849.             };
  850.         };
  851.     };
  852.  
  853.     i2c@ff660000 {
  854.         compatible = "rockchip,rk3288-i2c";
  855.         reg = <0xff660000 0x1000>;
  856.         interrupts = <0x0 0x3d 0x4>;
  857.         #address-cells = <0x1>;
  858.         #size-cells = <0x0>;
  859.         clock-names = "i2c";
  860.         clocks = <0x7 0x14e>;
  861.         pinctrl-names = "default";
  862.         pinctrl-0 = <0x43>;
  863.         status = "okay";
  864.     };
  865.  
  866.     pwm@ff680000 {
  867.         compatible = "rockchip,rk3288-pwm";
  868.         reg = <0xff680000 0x10>;
  869.         #pwm-cells = <0x3>;
  870.         pinctrl-names = "default";
  871.         pinctrl-0 = <0x44>;
  872.         clocks = <0x7 0x15e>;
  873.         clock-names = "pwm";
  874.         status = "okay";
  875.     };
  876.  
  877.     pwm@ff680010 {
  878.         compatible = "rockchip,rk3288-pwm";
  879.         reg = <0xff680010 0x10>;
  880.         #pwm-cells = <0x3>;
  881.         pinctrl-names = "default";
  882.         pinctrl-0 = <0x45>;
  883.         clocks = <0x7 0x15e>;
  884.         clock-names = "pwm";
  885.         status = "disabled";
  886.     };
  887.  
  888.     pwm@ff680020 {
  889.         compatible = "rockchip,rk3288-pwm";
  890.         reg = <0xff680020 0x10>;
  891.         #pwm-cells = <0x3>;
  892.         pinctrl-names = "default";
  893.         pinctrl-0 = <0x46>;
  894.         clocks = <0x7 0x15e>;
  895.         clock-names = "pwm";
  896.         status = "disabled";
  897.     };
  898.  
  899.     pwm@ff680030 {
  900.         compatible = "rockchip,rk3288-pwm";
  901.         reg = <0xff680030 0x10>;
  902.         #pwm-cells = <0x2>;
  903.         pinctrl-names = "default";
  904.         pinctrl-0 = <0x47>;
  905.         clocks = <0x7 0x15e>;
  906.         clock-names = "pwm";
  907.         status = "disabled";
  908.     };
  909.  
  910.     bus_intmem@ff700000 {
  911.         compatible = "mmio-sram";
  912.         reg = <0xff700000 0x18000>;
  913.         #address-cells = <0x1>;
  914.         #size-cells = <0x1>;
  915.         ranges = <0x0 0xff700000 0x18000>;
  916.  
  917.         smp-sram@0 {
  918.             compatible = "rockchip,rk3066-smp-sram";
  919.             reg = <0x0 0x10>;
  920.         };
  921.  
  922.         ddr-sram@1000 {
  923.             compatible = "rockchip,rk3288-ddr-sram";
  924.             reg = <0x1000 0x4000>;
  925.             linux,phandle = <0x3b>;
  926.             phandle = <0x3b>;
  927.         };
  928.     };
  929.  
  930.     sram@ff720000 {
  931.         compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
  932.         reg = <0xff720000 0x1000>;
  933.     };
  934.  
  935.     power-management@ff730000 {
  936.         compatible = "rockchip,rk3288-pmu", "syscon", "simple-mfd";
  937.         reg = <0xff730000 0x100>;
  938.         linux,phandle = <0x6>;
  939.         phandle = <0x6>;
  940.  
  941.         power-controller {
  942.             compatible = "rockchip,rk3288-power-controller";
  943.             #power-domain-cells = <0x1>;
  944.             #address-cells = <0x1>;
  945.             #size-cells = <0x0>;
  946.             linux,phandle = <0x4b>;
  947.             phandle = <0x4b>;
  948.  
  949.             pd_vio {
  950.                 reg = <0x9>;
  951.                 clocks = <0x7 0xca 0x7 0xcd 0x7 0xc8 0x7 0xcc 0x7 0xc5 0x7 0xc6 0x7 0xbe 0x7 0xbf 0x7 0x1d4 0x7 0x1d5 0x7 0x1d6 0x7 0x1d9 0x7 0x1d1 0x7 0x1d2 0x7 0x163 0x7 0x168 0x7 0x167 0x7 0x166 0x7 0x164 0x7 0x165 0x7 0x68 0x7 0x69 0x7 0x6c 0x7 0x6b 0x7 0x6a>;
  952.             };
  953.  
  954.             pd_hevc {
  955.                 reg = <0xb>;
  956.                 clocks = <0x7 0xcf 0x7 0x6f 0x7 0x70>;
  957.             };
  958.  
  959.             pd_video {
  960.                 reg = <0xc>;
  961.                 clocks = <0x7 0xd0 0x7 0x1dc>;
  962.             };
  963.  
  964.             pd_gpu {
  965.                 reg = <0xd>;
  966.                 clocks = <0x7 0xc0>;
  967.             };
  968.         };
  969.     };
  970.  
  971.     syscon@ff740000 {
  972.         compatible = "rockchip,rk3288-sgrf", "syscon";
  973.         reg = <0xff740000 0x1000>;
  974.         linux,phandle = <0x39>;
  975.         phandle = <0x39>;
  976.     };
  977.  
  978.     clock-controller@ff760000 {
  979.         compatible = "rockchip,rk3288-cru";
  980.         reg = <0xff760000 0x1000>;
  981.         rockchip,grf = <0x9>;
  982.         #clock-cells = <0x1>;
  983.         #reset-cells = <0x1>;
  984.         assigned-clocks = <0x7 0xbe 0x7 0xbf 0x7 0x4 0x7 0x3 0x7 0x5 0x7 0xd1 0x7 0x1dd 0x7 0x16a 0x7 0xd2 0x7 0x1de 0x7 0x16b>;
  985.         assigned-clock-rates = <0x0 0x0 0x2367b880 0x17d78400 0x1dcd6500 0x11e1a300 0x8f0d180 0x47868c0 0x11e1a300 0x8f0d180 0x47868c0>;
  986.         assigned-clock-parents = <0x7 0x5 0x7 0x4>;
  987.         linux,phandle = <0x7>;
  988.         phandle = <0x7>;
  989.     };
  990.  
  991.     syscon@ff770000 {
  992.         compatible = "rockchip,rk3288-grf", "syscon";
  993.         reg = <0xff770000 0x1000>;
  994.         linux,phandle = <0x9>;
  995.         phandle = <0x9>;
  996.     };
  997.  
  998.     watchdog@ff800000 {
  999.         compatible = "rockchip,rk3288-wdt", "snps,dw-wdt";
  1000.         reg = <0xff800000 0x100>;
  1001.         clocks = <0x7 0x170>;
  1002.         interrupts = <0x0 0x4f 0x4>;
  1003.         status = "okay";
  1004.     };
  1005.  
  1006.     sound@ff88b0000 {
  1007.         compatible = "rockchip,rk3288-spdif", "rockchip,rk3066-spdif";
  1008.         reg = <0xff8b0000 0x10000>;
  1009.         #sound-dai-cells = <0x0>;
  1010.         clock-names = "hclk", "mclk";
  1011.         clocks = <0x7 0x1d0 0x7 0x54>;
  1012.         dmas = <0x48 0x3>;
  1013.         dma-names = "tx";
  1014.         interrupts = <0x0 0x55 0x4>;
  1015.         pinctrl-names = "default";
  1016.         pinctrl-0 = <0x49>;
  1017.         rockchip,grf = <0x9>;
  1018.         status = "disabled";
  1019.     };
  1020.  
  1021.     i2s@ff890000 {
  1022.         compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s";
  1023.         reg = <0xff890000 0x10000>;
  1024.         interrupts = <0x0 0x55 0x4>;
  1025.         #address-cells = <0x1>;
  1026.         #size-cells = <0x0>;
  1027.         dmas = <0x48 0x0 0x48 0x1>;
  1028.         dma-names = "tx", "rx";
  1029.         clock-names = "i2s_hclk", "i2s_clk";
  1030.         clocks = <0x7 0x1ce 0x7 0x52>;
  1031.         pinctrl-names = "default";
  1032.         pinctrl-0 = <0x4a>;
  1033.         status = "okay";
  1034.         #sound-dai-cells = <0x0>;
  1035.         linux,phandle = <0x69>;
  1036.         phandle = <0x69>;
  1037.     };
  1038.  
  1039.     vop@ff930000 {
  1040.         compatible = "rockchip,rk3288-vop";
  1041.         reg = <0xff930000 0x19c>;
  1042.         interrupts = <0x0 0xf 0x4>;
  1043.         clocks = <0x7 0xc5 0x7 0xbe 0x7 0x1d1>;
  1044.         clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
  1045.         power-domains = <0x4b 0x9>;
  1046.         resets = <0x7 0x64 0x7 0x65 0x7 0x66>;
  1047.         reset-names = "axi", "ahb", "dclk";
  1048.         iommus = <0x4c>;
  1049.         status = "okay";
  1050.  
  1051.         port {
  1052.             #address-cells = <0x1>;
  1053.             #size-cells = <0x0>;
  1054.             linux,phandle = <0xc>;
  1055.             phandle = <0xc>;
  1056.  
  1057.             endpoint@0 {
  1058.                 reg = <0x0>;
  1059.                 remote-endpoint = <0x4d>;
  1060.                 linux,phandle = <0x5f>;
  1061.                 phandle = <0x5f>;
  1062.             };
  1063.  
  1064.             endpoint@1 {
  1065.                 reg = <0x1>;
  1066.                 remote-endpoint = <0x4e>;
  1067.                 linux,phandle = <0x59>;
  1068.                 phandle = <0x59>;
  1069.             };
  1070.  
  1071.             endpoint@2 {
  1072.                 reg = <0x2>;
  1073.                 remote-endpoint = <0x4f>;
  1074.                 linux,phandle = <0x56>;
  1075.                 phandle = <0x56>;
  1076.             };
  1077.  
  1078.             endpoint@3 {
  1079.                 reg = <0x3>;
  1080.                 remote-endpoint = <0x50>;
  1081.                 linux,phandle = <0x5c>;
  1082.                 phandle = <0x5c>;
  1083.             };
  1084.         };
  1085.     };
  1086.  
  1087.     iommu@ff930300 {
  1088.         compatible = "rockchip,iommu";
  1089.         reg = <0xff930300 0x100>;
  1090.         interrupts = <0x0 0xf 0x4>;
  1091.         interrupt-names = "vopb_mmu";
  1092.         power-domains = <0x4b 0x9>;
  1093.         #iommu-cells = <0x0>;
  1094.         status = "okay";
  1095.         linux,phandle = <0x4c>;
  1096.         phandle = <0x4c>;
  1097.     };
  1098.  
  1099.     vop@ff940000 {
  1100.         compatible = "rockchip,rk3288-vop";
  1101.         reg = <0xff940000 0x19c>;
  1102.         interrupts = <0x0 0x10 0x4>;
  1103.         clocks = <0x7 0xc6 0x7 0xbf 0x7 0x1d2>;
  1104.         clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
  1105.         power-domains = <0x4b 0x9>;
  1106.         resets = <0x7 0xb0 0x7 0xb1 0x7 0xb2>;
  1107.         reset-names = "axi", "ahb", "dclk";
  1108.         iommus = <0x51>;
  1109.         status = "okay";
  1110.  
  1111.         port {
  1112.             #address-cells = <0x1>;
  1113.             #size-cells = <0x0>;
  1114.             linux,phandle = <0xb>;
  1115.             phandle = <0xb>;
  1116.  
  1117.             endpoint@0 {
  1118.                 reg = <0x0>;
  1119.                 remote-endpoint = <0x52>;
  1120.                 linux,phandle = <0x60>;
  1121.                 phandle = <0x60>;
  1122.             };
  1123.  
  1124.             endpoint@1 {
  1125.                 reg = <0x1>;
  1126.                 remote-endpoint = <0x53>;
  1127.                 linux,phandle = <0x5a>;
  1128.                 phandle = <0x5a>;
  1129.             };
  1130.  
  1131.             endpoint@2 {
  1132.                 reg = <0x2>;
  1133.                 remote-endpoint = <0x54>;
  1134.                 linux,phandle = <0x57>;
  1135.                 phandle = <0x57>;
  1136.             };
  1137.  
  1138.             endpoint@3 {
  1139.                 reg = <0x3>;
  1140.                 remote-endpoint = <0x55>;
  1141.                 linux,phandle = <0x5d>;
  1142.                 phandle = <0x5d>;
  1143.             };
  1144.         };
  1145.     };
  1146.  
  1147.     iommu@ff940300 {
  1148.         compatible = "rockchip,iommu";
  1149.         reg = <0xff940300 0x100>;
  1150.         interrupts = <0x0 0x10 0x4>;
  1151.         interrupt-names = "vopl_mmu";
  1152.         power-domains = <0x4b 0x9>;
  1153.         #iommu-cells = <0x0>;
  1154.         status = "okay";
  1155.         linux,phandle = <0x51>;
  1156.         phandle = <0x51>;
  1157.     };
  1158.  
  1159.     mipi@ff960000 {
  1160.         compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi";
  1161.         reg = <0xff960000 0x4000>;
  1162.         interrupts = <0x0 0x53 0x4>;
  1163.         clocks = <0x7 0x7e 0x7 0x164>;
  1164.         clock-names = "ref", "pclk";
  1165.         rockchip,grf = <0x9>;
  1166.         #address-cells = <0x1>;
  1167.         #size-cells = <0x0>;
  1168.         status = "disabled";
  1169.  
  1170.         ports {
  1171.             #address-cells = <0x1>;
  1172.             #size-cells = <0x0>;
  1173.             reg = <0x1>;
  1174.  
  1175.             port {
  1176.                 #address-cells = <0x1>;
  1177.                 #size-cells = <0x0>;
  1178.  
  1179.                 endpoint@0 {
  1180.                     reg = <0x0>;
  1181.                     remote-endpoint = <0x56>;
  1182.                     linux,phandle = <0x4f>;
  1183.                     phandle = <0x4f>;
  1184.                 };
  1185.  
  1186.                 endpoint@1 {
  1187.                     reg = <0x1>;
  1188.                     remote-endpoint = <0x57>;
  1189.                     linux,phandle = <0x54>;
  1190.                     phandle = <0x54>;
  1191.                 };
  1192.             };
  1193.         };
  1194.     };
  1195.  
  1196.     dp@ff970000 {
  1197.         compatible = "rockchip,rk3288-dp";
  1198.         reg = <0xff970000 0x4000>;
  1199.         interrupts = <0x0 0x62 0x4>;
  1200.         clocks = <0x7 0x69 0x7 0x163>;
  1201.         clock-names = "dp", "pclk";
  1202.         phys = <0x58>;
  1203.         phy-names = "dp";
  1204.         resets = <0x7 0x6f>;
  1205.         reset-names = "dp";
  1206.         rockchip,grf = <0x9>;
  1207.         status = "disabled";
  1208.  
  1209.         ports {
  1210.             #address-cells = <0x1>;
  1211.             #size-cells = <0x0>;
  1212.  
  1213.             port@0 {
  1214.                 reg = <0x0>;
  1215.                 #address-cells = <0x1>;
  1216.                 #size-cells = <0x0>;
  1217.  
  1218.                 endpoint@0 {
  1219.                     reg = <0x0>;
  1220.                     remote-endpoint = <0x59>;
  1221.                     linux,phandle = <0x4e>;
  1222.                     phandle = <0x4e>;
  1223.                 };
  1224.  
  1225.                 endpoint@1 {
  1226.                     reg = <0x1>;
  1227.                     remote-endpoint = <0x5a>;
  1228.                     linux,phandle = <0x53>;
  1229.                     phandle = <0x53>;
  1230.                 };
  1231.             };
  1232.         };
  1233.     };
  1234.  
  1235.     lvds@ff96c000 {
  1236.         compatible = "rockchip,rk3288-lvds";
  1237.         reg = <0xff96c000 0x4000>;
  1238.         clocks = <0x7 0x167>;
  1239.         clock-names = "pclk_lvds";
  1240.         pinctrl-names = "default";
  1241.         pinctrl-0 = <0x5b>;
  1242.         power-domains = <0x4b 0x9>;
  1243.         rockchip,grf = <0x9>;
  1244.         status = "disabled";
  1245.  
  1246.         ports {
  1247.             #address-cells = <0x1>;
  1248.             #size-cells = <0x0>;
  1249.  
  1250.             port@0 {
  1251.                 reg = <0x0>;
  1252.                 #address-cells = <0x1>;
  1253.                 #size-cells = <0x0>;
  1254.  
  1255.                 endpoint@0 {
  1256.                     reg = <0x0>;
  1257.                     remote-endpoint = <0x5c>;
  1258.                     linux,phandle = <0x50>;
  1259.                     phandle = <0x50>;
  1260.                 };
  1261.  
  1262.                 endpoint@1 {
  1263.                     reg = <0x1>;
  1264.                     remote-endpoint = <0x5d>;
  1265.                     linux,phandle = <0x55>;
  1266.                     phandle = <0x55>;
  1267.                 };
  1268.             };
  1269.         };
  1270.     };
  1271.  
  1272.     hdmi@ff980000 {
  1273.         compatible = "rockchip,rk3288-dw-hdmi";
  1274.         reg = <0xff980000 0x20000>;
  1275.         reg-io-width = <0x4>;
  1276.         rockchip,grf = <0x9>;
  1277.         interrupts = <0x0 0x67 0x4>;
  1278.         clocks = <0x7 0x168 0x7 0x6d>;
  1279.         clock-names = "iahb", "isfr";
  1280.         power-domains = <0x4b 0x9>;
  1281.         status = "okay";
  1282.         #address-cells = <0x1>;
  1283.         #size-cells = <0x0>;
  1284.         #sound-dai-cells = <0x0>;
  1285.         ddc-i2c-bus = <0x5e>;
  1286.         linux,phandle = <0x6a>;
  1287.         phandle = <0x6a>;
  1288.  
  1289.         ports {
  1290.  
  1291.             port {
  1292.                 #address-cells = <0x1>;
  1293.                 #size-cells = <0x0>;
  1294.  
  1295.                 endpoint@0 {
  1296.                     reg = <0x0>;
  1297.                     remote-endpoint = <0x5f>;
  1298.                     linux,phandle = <0x4d>;
  1299.                     phandle = <0x4d>;
  1300.                 };
  1301.  
  1302.                 endpoint@1 {
  1303.                     reg = <0x1>;
  1304.                     remote-endpoint = <0x60>;
  1305.                     linux,phandle = <0x52>;
  1306.                     phandle = <0x52>;
  1307.                 };
  1308.             };
  1309.         };
  1310.     };
  1311.  
  1312.     gpu@ffa30000 {
  1313.         compatible = "arm,malit764", "arm,malit76x", "arm,malit7xx", "arm,mali-midgard";
  1314.         reg = <0xffa30000 0x10000>;
  1315.         interrupts = <0x0 0x6 0x4 0x0 0x7 0x4 0x0 0x8 0x4>;
  1316.         interrupt-names = "JOB", "MMU", "GPU";
  1317.         clocks = <0x7 0xc0>;
  1318.         clock-names = "clk_mali";
  1319.         operating-points = <0x927c0 0x1312d0 0x61a80 0x10c8e0 0x493e0 0xf4240 0x30d40 0xe7ef0 0x186a0 0xe7ef0>;
  1320.         #cooling-cells = <0x2>;
  1321.         power-domains = <0x4b 0xd>;
  1322.         status = "okay";
  1323.         mali-supply = <0x61>;
  1324.         power-off-delay-ms = <0xc8>;
  1325.     };
  1326.  
  1327.     syscon@ffac0000 {
  1328.         compatible = "rockchip,rk3288-noc", "syscon";
  1329.         reg = <0xffac0000 0x2000>;
  1330.         linux,phandle = <0x3a>;
  1331.         phandle = <0x3a>;
  1332.     };
  1333.  
  1334.     video-codec@ff9a0000 {
  1335.         compatible = "rockchip,rk3288-vpu";
  1336.         reg = <0xff9a0000 0x800>;
  1337.         interrupts = <0x0 0x9 0x4 0x0 0xa 0x4>;
  1338.         interrupt-names = "vepu", "vdpu";
  1339.         clocks = <0x7 0xd0 0x7 0x1dc>;
  1340.         clock-names = "aclk", "hclk";
  1341.         power-domains = <0x4b 0xc>;
  1342.         iommus = <0x62>;
  1343.         assigned-clocks = <0x7 0xd0>;
  1344.         assigned-clock-rates = <0x17d78400>;
  1345.         status = "okay";
  1346.     };
  1347.  
  1348.     iommu@ff9a0800 {
  1349.         compatible = "rockchip,iommu";
  1350.         reg = <0xff9a0800 0x100>;
  1351.         interrupts = <0x0 0xb 0x4>;
  1352.         interrupt-names = "vpu_mmu";
  1353.         power-domains = <0x4b 0xc>;
  1354.         #iommu-cells = <0x0>;
  1355.         linux,phandle = <0x62>;
  1356.         phandle = <0x62>;
  1357.     };
  1358.  
  1359.     interrupt-controller@ffc01000 {
  1360.         compatible = "arm,gic-400";
  1361.         interrupt-controller;
  1362.         #interrupt-cells = <0x3>;
  1363.         #address-cells = <0x0>;
  1364.         reg = <0xffc01000 0x1000 0xffc02000 0x1000 0xffc04000 0x2000 0xffc06000 0x2000>;
  1365.         interrupts = <0x1 0x9 0xf04>;
  1366.         linux,phandle = <0x1>;
  1367.         phandle = <0x1>;
  1368.     };
  1369.  
  1370.     efuse@ffb40000 {
  1371.         compatible = "rockchip,rockchip-efuse";
  1372.         reg = <0xffb40000 0x20>;
  1373.         #address-cells = <0x1>;
  1374.         #size-cells = <0x1>;
  1375.         clocks = <0x7 0x171>;
  1376.         clock-names = "pclk_efuse";
  1377.  
  1378.         cpu_leakage@17 {
  1379.             reg = <0x17 0x1>;
  1380.         };
  1381.     };
  1382.  
  1383.     phy {
  1384.         compatible = "rockchip,rk3288-usb-phy";
  1385.         rockchip,grf = <0x9>;
  1386.         #address-cells = <0x1>;
  1387.         #size-cells = <0x0>;
  1388.         status = "okay";
  1389.  
  1390.         usb-phy0 {
  1391.             #phy-cells = <0x0>;
  1392.             reg = <0x320>;
  1393.             clocks = <0x7 0x5d>;
  1394.             clock-names = "phyclk";
  1395.             linux,phandle = <0x38>;
  1396.             phandle = <0x38>;
  1397.         };
  1398.  
  1399.         usb-phy1 {
  1400.             #phy-cells = <0x0>;
  1401.             reg = <0x334>;
  1402.             clocks = <0x7 0x5e>;
  1403.             clock-names = "phyclk";
  1404.             linux,phandle = <0x36>;
  1405.             phandle = <0x36>;
  1406.         };
  1407.  
  1408.         usb-phy2 {
  1409.             #phy-cells = <0x0>;
  1410.             reg = <0x348>;
  1411.             clocks = <0x7 0x5f>;
  1412.             clock-names = "phyclk";
  1413.             linux,phandle = <0x37>;
  1414.             phandle = <0x37>;
  1415.         };
  1416.     };
  1417.  
  1418.     pinctrl {
  1419.         compatible = "rockchip,rk3288-pinctrl";
  1420.         rockchip,grf = <0x9>;
  1421.         rockchip,pmu = <0x6>;
  1422.         #address-cells = <0x1>;
  1423.         #size-cells = <0x1>;
  1424.         ranges;
  1425.  
  1426.         gpio0@ff750000 {
  1427.             compatible = "rockchip,gpio-bank";
  1428.             reg = <0xff750000 0x100>;
  1429.             interrupts = <0x0 0x51 0x4>;
  1430.             clocks = <0x7 0x140>;
  1431.             gpio-controller;
  1432.             #gpio-cells = <0x2>;
  1433.             interrupt-controller;
  1434.             #interrupt-cells = <0x2>;
  1435.             linux,phandle = <0x3f>;
  1436.             phandle = <0x3f>;
  1437.         };
  1438.  
  1439.         gpio1@ff780000 {
  1440.             compatible = "rockchip,gpio-bank";
  1441.             reg = <0xff780000 0x100>;
  1442.             interrupts = <0x0 0x52 0x4>;
  1443.             clocks = <0x7 0x141>;
  1444.             gpio-controller;
  1445.             #gpio-cells = <0x2>;
  1446.             interrupt-controller;
  1447.             #interrupt-cells = <0x2>;
  1448.         };
  1449.  
  1450.         gpio2@ff790000 {
  1451.             compatible = "rockchip,gpio-bank";
  1452.             reg = <0xff790000 0x100>;
  1453.             interrupts = <0x0 0x53 0x4>;
  1454.             clocks = <0x7 0x142>;
  1455.             gpio-controller;
  1456.             #gpio-cells = <0x2>;
  1457.             interrupt-controller;
  1458.             #interrupt-cells = <0x2>;
  1459.         };
  1460.  
  1461.         gpio3@ff7a0000 {
  1462.             compatible = "rockchip,gpio-bank";
  1463.             reg = <0xff7a0000 0x100>;
  1464.             interrupts = <0x0 0x54 0x4>;
  1465.             clocks = <0x7 0x143>;
  1466.             gpio-controller;
  1467.             #gpio-cells = <0x2>;
  1468.             interrupt-controller;
  1469.             #interrupt-cells = <0x2>;
  1470.         };
  1471.  
  1472.         gpio4@ff7b0000 {
  1473.             compatible = "rockchip,gpio-bank";
  1474.             reg = <0xff7b0000 0x100>;
  1475.             interrupts = <0x0 0x55 0x4>;
  1476.             clocks = <0x7 0x144>;
  1477.             gpio-controller;
  1478.             #gpio-cells = <0x2>;
  1479.             interrupt-controller;
  1480.             #interrupt-cells = <0x2>;
  1481.             linux,phandle = <0x33>;
  1482.             phandle = <0x33>;
  1483.         };
  1484.  
  1485.         gpio5@ff7c0000 {
  1486.             compatible = "rockchip,gpio-bank";
  1487.             reg = <0xff7c0000 0x100>;
  1488.             interrupts = <0x0 0x56 0x4>;
  1489.             clocks = <0x7 0x145>;
  1490.             gpio-controller;
  1491.             #gpio-cells = <0x2>;
  1492.             interrupt-controller;
  1493.             #interrupt-cells = <0x2>;
  1494.         };
  1495.  
  1496.         gpio6@ff7d0000 {
  1497.             compatible = "rockchip,gpio-bank";
  1498.             reg = <0xff7d0000 0x100>;
  1499.             interrupts = <0x0 0x57 0x4>;
  1500.             clocks = <0x7 0x146>;
  1501.             gpio-controller;
  1502.             #gpio-cells = <0x2>;
  1503.             interrupt-controller;
  1504.             #interrupt-cells = <0x2>;
  1505.         };
  1506.  
  1507.         gpio7@ff7e0000 {
  1508.             compatible = "rockchip,gpio-bank";
  1509.             reg = <0xff7e0000 0x100>;
  1510.             interrupts = <0x0 0x58 0x4>;
  1511.             clocks = <0x7 0x147>;
  1512.             gpio-controller;
  1513.             #gpio-cells = <0x2>;
  1514.             interrupt-controller;
  1515.             #interrupt-cells = <0x2>;
  1516.             linux,phandle = <0x6c>;
  1517.             phandle = <0x6c>;
  1518.         };
  1519.  
  1520.         gpio8@ff7f0000 {
  1521.             compatible = "rockchip,gpio-bank";
  1522.             reg = <0xff7f0000 0x100>;
  1523.             interrupts = <0x0 0x59 0x4>;
  1524.             clocks = <0x7 0x148>;
  1525.             gpio-controller;
  1526.             #gpio-cells = <0x2>;
  1527.             interrupt-controller;
  1528.             #interrupt-cells = <0x2>;
  1529.         };
  1530.  
  1531.         hdmi {
  1532.  
  1533.             hdmi-ddc {
  1534.                 rockchip,pins = <0x7 0x13 0x2 0x63 0x7 0x14 0x2 0x63>;
  1535.             };
  1536.         };
  1537.  
  1538.         pcfg-pull-up {
  1539.             bias-pull-up;
  1540.             linux,phandle = <0x64>;
  1541.             phandle = <0x64>;
  1542.         };
  1543.  
  1544.         pcfg-pull-down {
  1545.             bias-pull-down;
  1546.             linux,phandle = <0x65>;
  1547.             phandle = <0x65>;
  1548.         };
  1549.  
  1550.         pcfg-pull-none {
  1551.             bias-disable;
  1552.             linux,phandle = <0x63>;
  1553.             phandle = <0x63>;
  1554.         };
  1555.  
  1556.         pcfg-pull-none-12ma {
  1557.             bias-disable;
  1558.             drive-strength = <0xc>;
  1559.             linux,phandle = <0x68>;
  1560.             phandle = <0x68>;
  1561.         };
  1562.  
  1563.         sleep {
  1564.  
  1565.             global-pwroff {
  1566.                 rockchip,pins = <0x0 0x0 0x1 0x63>;
  1567.             };
  1568.  
  1569.             ddrio-pwroff {
  1570.                 rockchip,pins = <0x0 0x1 0x1 0x63>;
  1571.             };
  1572.  
  1573.             ddr0-retention {
  1574.                 rockchip,pins = <0x0 0x2 0x1 0x64>;
  1575.             };
  1576.  
  1577.             ddr1-retention {
  1578.                 rockchip,pins = <0x0 0x3 0x1 0x64>;
  1579.             };
  1580.         };
  1581.  
  1582.         edp {
  1583.  
  1584.             edp-hpd {
  1585.                 rockchip,pins = <0x7 0xb 0x2 0x65>;
  1586.             };
  1587.         };
  1588.  
  1589.         i2c0 {
  1590.  
  1591.             i2c0-xfer {
  1592.                 rockchip,pins = <0x0 0xf 0x1 0x63 0x0 0x10 0x1 0x63>;
  1593.                 linux,phandle = <0x3d>;
  1594.                 phandle = <0x3d>;
  1595.             };
  1596.         };
  1597.  
  1598.         i2c1 {
  1599.  
  1600.             i2c1-xfer {
  1601.                 rockchip,pins = <0x8 0x4 0x1 0x63 0x8 0x5 0x1 0x63>;
  1602.                 linux,phandle = <0x24>;
  1603.                 phandle = <0x24>;
  1604.             };
  1605.         };
  1606.  
  1607.         i2c2 {
  1608.  
  1609.             i2c2-xfer {
  1610.                 rockchip,pins = <0x6 0x9 0x1 0x63 0x6 0xa 0x1 0x63>;
  1611.                 linux,phandle = <0x43>;
  1612.                 phandle = <0x43>;
  1613.             };
  1614.         };
  1615.  
  1616.         i2c3 {
  1617.  
  1618.             i2c3-xfer {
  1619.                 rockchip,pins = <0x2 0x10 0x1 0x63 0x2 0x11 0x1 0x63>;
  1620.                 linux,phandle = <0x25>;
  1621.                 phandle = <0x25>;
  1622.             };
  1623.         };
  1624.  
  1625.         i2c4 {
  1626.  
  1627.             i2c4-xfer {
  1628.                 rockchip,pins = <0x7 0x11 0x1 0x63 0x7 0x12 0x1 0x63>;
  1629.                 linux,phandle = <0x26>;
  1630.                 phandle = <0x26>;
  1631.             };
  1632.         };
  1633.  
  1634.         i2c5 {
  1635.  
  1636.             i2c5-xfer {
  1637.                 rockchip,pins = <0x7 0x13 0x1 0x63 0x7 0x14 0x1 0x63>;
  1638.                 linux,phandle = <0x27>;
  1639.                 phandle = <0x27>;
  1640.             };
  1641.         };
  1642.  
  1643.         i2s0 {
  1644.  
  1645.             i2s0-bus {
  1646.                 rockchip,pins = <0x6 0x0 0x1 0x63 0x6 0x1 0x1 0x63 0x6 0x2 0x1 0x63 0x6 0x3 0x1 0x63 0x6 0x4 0x1 0x63 0x6 0x8 0x1 0x63>;
  1647.                 linux,phandle = <0x4a>;
  1648.                 phandle = <0x4a>;
  1649.             };
  1650.         };
  1651.  
  1652.         lcdc0 {
  1653.  
  1654.             lcdc0-ctl {
  1655.                 rockchip,pins = <0x1 0x18 0x1 0x63 0x1 0x19 0x1 0x63 0x1 0x1a 0x1 0x63 0x1 0x1b 0x1 0x63>;
  1656.                 linux,phandle = <0x5b>;
  1657.                 phandle = <0x5b>;
  1658.             };
  1659.         };
  1660.  
  1661.         sdmmc {
  1662.  
  1663.             sdmmc-clk {
  1664.                 rockchip,pins = <0x6 0x14 0x1 0x66>;
  1665.                 linux,phandle = <0xd>;
  1666.                 phandle = <0xd>;
  1667.             };
  1668.  
  1669.             sdmmc-cmd {
  1670.                 rockchip,pins = <0x6 0x15 0x1 0x67>;
  1671.                 linux,phandle = <0xe>;
  1672.                 phandle = <0xe>;
  1673.             };
  1674.  
  1675.             sdmcc-cd {
  1676.                 rockchip,pins = <0x6 0x16 0x1 0x64>;
  1677.                 linux,phandle = <0xf>;
  1678.                 phandle = <0xf>;
  1679.             };
  1680.  
  1681.             sdmmc-bus1 {
  1682.                 rockchip,pins = <0x6 0x10 0x1 0x64>;
  1683.             };
  1684.  
  1685.             sdmmc-bus4 {
  1686.                 rockchip,pins = <0x6 0x10 0x1 0x67 0x6 0x11 0x1 0x67 0x6 0x12 0x1 0x67 0x6 0x13 0x1 0x67>;
  1687.                 linux,phandle = <0x10>;
  1688.                 phandle = <0x10>;
  1689.             };
  1690.  
  1691.             sdmmc-pwr {
  1692.                 rockchip,pins = <0x7 0xb 0x0 0x63>;
  1693.                 linux,phandle = <0x6f>;
  1694.                 phandle = <0x6f>;
  1695.             };
  1696.         };
  1697.  
  1698.         sdio0 {
  1699.  
  1700.             sdio0-bus1 {
  1701.                 rockchip,pins = <0x4 0x14 0x1 0x64>;
  1702.             };
  1703.  
  1704.             sdio0-bus4 {
  1705.                 rockchip,pins = <0x4 0x14 0x1 0x64 0x4 0x15 0x1 0x64 0x4 0x16 0x1 0x64 0x4 0x17 0x1 0x64>;
  1706.             };
  1707.  
  1708.             sdio0-cmd {
  1709.                 rockchip,pins = <0x4 0x18 0x1 0x64>;
  1710.             };
  1711.  
  1712.             sdio0-clk {
  1713.                 rockchip,pins = <0x4 0x19 0x1 0x63>;
  1714.             };
  1715.  
  1716.             sdio0-cd {
  1717.                 rockchip,pins = <0x4 0x1a 0x1 0x64>;
  1718.             };
  1719.  
  1720.             sdio0-wp {
  1721.                 rockchip,pins = <0x4 0x1b 0x1 0x64>;
  1722.             };
  1723.  
  1724.             sdio0-pwr {
  1725.                 rockchip,pins = <0x4 0x1c 0x1 0x64>;
  1726.             };
  1727.  
  1728.             sdio0-bkpwr {
  1729.                 rockchip,pins = <0x4 0x1d 0x1 0x64>;
  1730.             };
  1731.  
  1732.             sdio0-int {
  1733.                 rockchip,pins = <0x4 0x1e 0x1 0x64>;
  1734.             };
  1735.         };
  1736.  
  1737.         sdio1 {
  1738.  
  1739.             sdio1-bus1 {
  1740.                 rockchip,pins = <0x3 0x18 0x4 0x64>;
  1741.             };
  1742.  
  1743.             sdio1-bus4 {
  1744.                 rockchip,pins = <0x3 0x18 0x4 0x64 0x3 0x19 0x4 0x64 0x3 0x1a 0x4 0x64 0x3 0x1b 0x4 0x64>;
  1745.             };
  1746.  
  1747.             sdio1-cd {
  1748.                 rockchip,pins = <0x3 0x1c 0x4 0x64>;
  1749.             };
  1750.  
  1751.             sdio1-wp {
  1752.                 rockchip,pins = <0x3 0x1d 0x4 0x64>;
  1753.             };
  1754.  
  1755.             sdio1-bkpwr {
  1756.                 rockchip,pins = <0x3 0x1e 0x4 0x64>;
  1757.             };
  1758.  
  1759.             sdio1-int {
  1760.                 rockchip,pins = <0x3 0x1f 0x4 0x64>;
  1761.             };
  1762.  
  1763.             sdio1-cmd {
  1764.                 rockchip,pins = <0x4 0x6 0x4 0x64>;
  1765.             };
  1766.  
  1767.             sdio1-clk {
  1768.                 rockchip,pins = <0x4 0x7 0x4 0x63>;
  1769.             };
  1770.  
  1771.             sdio1-pwr {
  1772.                 rockchip,pins = <0x4 0x9 0x4 0x64>;
  1773.             };
  1774.         };
  1775.  
  1776.         emmc {
  1777.  
  1778.             emmc-clk {
  1779.                 rockchip,pins = <0x3 0x12 0x2 0x63>;
  1780.                 linux,phandle = <0x13>;
  1781.                 phandle = <0x13>;
  1782.             };
  1783.  
  1784.             emmc-cmd {
  1785.                 rockchip,pins = <0x3 0x10 0x2 0x64>;
  1786.                 linux,phandle = <0x14>;
  1787.                 phandle = <0x14>;
  1788.             };
  1789.  
  1790.             emmc-pwr {
  1791.                 rockchip,pins = <0x3 0x9 0x2 0x64>;
  1792.                 linux,phandle = <0x15>;
  1793.                 phandle = <0x15>;
  1794.             };
  1795.  
  1796.             emmc-bus1 {
  1797.                 rockchip,pins = <0x3 0x0 0x2 0x64>;
  1798.             };
  1799.  
  1800.             emmc-bus4 {
  1801.                 rockchip,pins = <0x3 0x0 0x2 0x64 0x3 0x1 0x2 0x64 0x3 0x2 0x2 0x64 0x3 0x3 0x2 0x64>;
  1802.             };
  1803.  
  1804.             emmc-bus8 {
  1805.                 rockchip,pins = <0x3 0x0 0x2 0x64 0x3 0x1 0x2 0x64 0x3 0x2 0x2 0x64 0x3 0x3 0x2 0x64 0x3 0x4 0x2 0x64 0x3 0x5 0x2 0x64 0x3 0x6 0x2 0x64 0x3 0x7 0x2 0x64>;
  1806.                 linux,phandle = <0x16>;
  1807.                 phandle = <0x16>;
  1808.             };
  1809.         };
  1810.  
  1811.         spi0 {
  1812.  
  1813.             spi0-clk {
  1814.                 rockchip,pins = <0x5 0xc 0x1 0x64>;
  1815.                 linux,phandle = <0x18>;
  1816.                 phandle = <0x18>;
  1817.             };
  1818.  
  1819.             spi0-cs0 {
  1820.                 rockchip,pins = <0x5 0xd 0x1 0x64>;
  1821.                 linux,phandle = <0x1b>;
  1822.                 phandle = <0x1b>;
  1823.             };
  1824.  
  1825.             spi0-tx {
  1826.                 rockchip,pins = <0x5 0xe 0x1 0x64>;
  1827.                 linux,phandle = <0x19>;
  1828.                 phandle = <0x19>;
  1829.             };
  1830.  
  1831.             spi0-rx {
  1832.                 rockchip,pins = <0x5 0xf 0x1 0x64>;
  1833.                 linux,phandle = <0x1a>;
  1834.                 phandle = <0x1a>;
  1835.             };
  1836.  
  1837.             spi0-cs1 {
  1838.                 rockchip,pins = <0x5 0x10 0x1 0x64>;
  1839.             };
  1840.         };
  1841.  
  1842.         spi1 {
  1843.  
  1844.             spi1-clk {
  1845.                 rockchip,pins = <0x7 0xc 0x2 0x64>;
  1846.                 linux,phandle = <0x1c>;
  1847.                 phandle = <0x1c>;
  1848.             };
  1849.  
  1850.             spi1-cs0 {
  1851.                 rockchip,pins = <0x7 0xd 0x2 0x64>;
  1852.                 linux,phandle = <0x1f>;
  1853.                 phandle = <0x1f>;
  1854.             };
  1855.  
  1856.             spi1-rx {
  1857.                 rockchip,pins = <0x7 0xe 0x2 0x64>;
  1858.                 linux,phandle = <0x1e>;
  1859.                 phandle = <0x1e>;
  1860.             };
  1861.  
  1862.             spi1-tx {
  1863.                 rockchip,pins = <0x7 0xf 0x2 0x64>;
  1864.                 linux,phandle = <0x1d>;
  1865.                 phandle = <0x1d>;
  1866.             };
  1867.         };
  1868.  
  1869.         spi2 {
  1870.  
  1871.             spi2-cs1 {
  1872.                 rockchip,pins = <0x8 0x3 0x1 0x64>;
  1873.             };
  1874.  
  1875.             spi2-clk {
  1876.                 rockchip,pins = <0x8 0x6 0x1 0x64>;
  1877.                 linux,phandle = <0x20>;
  1878.                 phandle = <0x20>;
  1879.             };
  1880.  
  1881.             spi2-cs0 {
  1882.                 rockchip,pins = <0x8 0x7 0x1 0x64>;
  1883.                 linux,phandle = <0x23>;
  1884.                 phandle = <0x23>;
  1885.             };
  1886.  
  1887.             spi2-rx {
  1888.                 rockchip,pins = <0x8 0x8 0x1 0x64>;
  1889.                 linux,phandle = <0x22>;
  1890.                 phandle = <0x22>;
  1891.             };
  1892.  
  1893.             spi2-tx {
  1894.                 rockchip,pins = <0x8 0x9 0x1 0x64>;
  1895.                 linux,phandle = <0x21>;
  1896.                 phandle = <0x21>;
  1897.             };
  1898.         };
  1899.  
  1900.         uart0 {
  1901.  
  1902.             uart0-xfer {
  1903.                 rockchip,pins = <0x4 0x10 0x1 0x64 0x4 0x11 0x1 0x63>;
  1904.                 linux,phandle = <0x28>;
  1905.                 phandle = <0x28>;
  1906.             };
  1907.  
  1908.             uart0-cts {
  1909.                 rockchip,pins = <0x4 0x12 0x1 0x64>;
  1910.             };
  1911.  
  1912.             uart0-rts {
  1913.                 rockchip,pins = <0x4 0x13 0x1 0x63>;
  1914.             };
  1915.             uart0-rts-gpio {
  1916.                 rockchip,pins = <0x4 0x13 0x0 0x63>;
  1917.             };
  1918.         };
  1919.  
  1920.         uart1 {
  1921.  
  1922.             uart1-xfer {
  1923.                 rockchip,pins = <0x5 0x8 0x1 0x64 0x5 0x9 0x1 0x63>;
  1924.                 linux,phandle = <0x29>;
  1925.                 phandle = <0x29>;
  1926.             };
  1927.  
  1928.             uart1-cts {
  1929.                 rockchip,pins = <0x5 0xa 0x1 0x64>;
  1930.             };
  1931.  
  1932.             uart1-rts {
  1933.                 rockchip,pins = <0x5 0xb 0x1 0x63>;
  1934.             };
  1935.         };
  1936.  
  1937.         uart2 {
  1938.  
  1939.             uart2-xfer {
  1940.                 rockchip,pins = <0x7 0x16 0x1 0x64 0x7 0x17 0x1 0x63>;
  1941.                 linux,phandle = <0x2a>;
  1942.                 phandle = <0x2a>;
  1943.             };
  1944.         };
  1945.  
  1946.         uart3 {
  1947.  
  1948.             uart3-xfer {
  1949.                 rockchip,pins = <0x7 0x7 0x1 0x64 0x7 0x8 0x1 0x63>;
  1950.                 linux,phandle = <0x2b>;
  1951.                 phandle = <0x2b>;
  1952.             };
  1953.  
  1954.             uart3-cts {
  1955.                 rockchip,pins = <0x7 0x9 0x1 0x64>;
  1956.             };
  1957.  
  1958.             uart3-rts {
  1959.                 rockchip,pins = <0x7 0xa 0x1 0x63>;
  1960.             };
  1961.         };
  1962.  
  1963.         uart4 {
  1964.  
  1965.             uart4-xfer {
  1966.                 rockchip,pins = <0x5 0xc 0x3 0x64 0x5 0xd 0x3 0x63>;
  1967.                 linux,phandle = <0x2c>;
  1968.                 phandle = <0x2c>;
  1969.             };
  1970.  
  1971.             uart4-cts {
  1972.                 rockchip,pins = <0x5 0xe 0x3 0x64>;
  1973.             };
  1974.  
  1975.             uart4-rts {
  1976.                 rockchip,pins = <0x5 0xf 0x3 0x63>;
  1977.             };
  1978.         };
  1979.  
  1980.         tsadc {
  1981.  
  1982.             otp-gpio {
  1983.                 rockchip,pins = <0x0 0xa 0x0 0x63>;
  1984.                 linux,phandle = <0x30>;
  1985.                 phandle = <0x30>;
  1986.             };
  1987.  
  1988.             otp-out {
  1989.                 rockchip,pins = <0x0 0xa 0x1 0x63>;
  1990.                 linux,phandle = <0x31>;
  1991.                 phandle = <0x31>;
  1992.             };
  1993.         };
  1994.  
  1995.         pwm0 {
  1996.  
  1997.             pwm0-pin {
  1998.                 rockchip,pins = <0x7 0x0 0x1 0x63>;
  1999.                 linux,phandle = <0x44>;
  2000.                 phandle = <0x44>;
  2001.             };
  2002.         };
  2003.  
  2004.         pwm1 {
  2005.  
  2006.             pwm1-pin {
  2007.                 rockchip,pins = <0x7 0x1 0x1 0x63>;
  2008.                 linux,phandle = <0x45>;
  2009.                 phandle = <0x45>;
  2010.             };
  2011.         };
  2012.  
  2013.         pwm2 {
  2014.  
  2015.             pwm2-pin {
  2016.                 rockchip,pins = <0x7 0x16 0x3 0x63>;
  2017.                 linux,phandle = <0x46>;
  2018.                 phandle = <0x46>;
  2019.             };
  2020.         };
  2021.  
  2022.         pwm3 {
  2023.  
  2024.             pwm3-pin {
  2025.                 rockchip,pins = <0x7 0x17 0x3 0x63>;
  2026.                 linux,phandle = <0x47>;
  2027.                 phandle = <0x47>;
  2028.             };
  2029.         };
  2030.  
  2031.         gmac {
  2032.  
  2033.             rgmii-pins {
  2034.                 rockchip,pins = <0x3 0x1e 0x3 0x63 0x3 0x1f 0x3 0x63 0x3 0x1a 0x3 0x63 0x3 0x1b 0x3 0x63 0x3 0x1c 0x3 0x68 0x3 0x1d 0x3 0x68 0x3 0x18 0x3 0x68 0x3 0x19 0x3 0x68 0x4 0x0 0x3 0x63 0x4 0x5 0x3 0x63 0x4 0x6 0x3 0x63 0x4 0x9 0x3 0x68 0x4 0x4 0x3 0x68 0x4 0x1 0x3 0x63 0x4 0x3 0x3 0x63>;
  2035.                 linux,phandle = <0x35>;
  2036.                 phandle = <0x35>;
  2037.             };
  2038.  
  2039.             rmii-pins {
  2040.                 rockchip,pins = <0x3 0x1e 0x3 0x63 0x3 0x1f 0x3 0x63 0x3 0x1c 0x3 0x63 0x3 0x1d 0x3 0x63 0x4 0x0 0x3 0x63 0x4 0x5 0x3 0x63 0x4 0x4 0x3 0x63 0x4 0x1 0x3 0x63 0x4 0x2 0x3 0x63 0x4 0x3 0x3 0x63>;
  2041.             };
  2042.         };
  2043.  
  2044.         spdif {
  2045.  
  2046.             spdif-tx {
  2047.                 rockchip,pins = <0x6 0xb 0x1 0x63>;
  2048.                 linux,phandle = <0x49>;
  2049.                 phandle = <0x49>;
  2050.             };
  2051.         };
  2052.  
  2053.         pcfg-pull-none-drv-8ma {
  2054.             drive-strength = <0x8>;
  2055.             linux,phandle = <0x66>;
  2056.             phandle = <0x66>;
  2057.         };
  2058.  
  2059.         pcfg-pull-up-drv-8ma {
  2060.             bias-pull-up;
  2061.             drive-strength = <0x8>;
  2062.             linux,phandle = <0x67>;
  2063.             phandle = <0x67>;
  2064.         };
  2065.  
  2066.         buttons {
  2067.  
  2068.             gkey {
  2069.                 rockchip,pins = <0x7 0x9 0x0 0x64>;
  2070.                 linux,phandle = <0x6b>;
  2071.                 phandle = <0x6b>;
  2072.             };
  2073.         };
  2074.  
  2075.         pmic {
  2076.  
  2077.             pmic-int {
  2078.                 rockchip,pins = <0x0 0x4 0x0 0x64>;
  2079.                 linux,phandle = <0x40>;
  2080.                 phandle = <0x40>;
  2081.             };
  2082.         };
  2083.  
  2084.         usb {
  2085.  
  2086.             host-vbus-drv {
  2087.                 rockchip,pins = <0x0 0xe 0x0 0x63>;
  2088.                 linux,phandle = <0x6d>;
  2089.                 phandle = <0x6d>;
  2090.             };
  2091.  
  2092.             pwr-3g {
  2093.                 rockchip,pins = <0x7 0x8 0x0 0x63>;
  2094.             };
  2095.         };
  2096.  
  2097.         eth_phy {
  2098.  
  2099.             eth-phy-pwr {
  2100.                 rockchip,pins = <0x0 0x6 0x0 0x63>;
  2101.                 linux,phandle = <0x6e>;
  2102.                 phandle = <0x6e>;
  2103.             };
  2104.         };
  2105.     };
  2106.  
  2107.     sound {
  2108.         compatible = "simple-audio-card";
  2109.         simple-audio-card,format = "i2s";
  2110.         simple-audio-card,name = "DW-HDMI";
  2111.         simple-audio-card,mclk-fs = <0x200>;
  2112.  
  2113.         simple-audio-card,dai-link@0 {
  2114.             format = "i2s";
  2115.  
  2116.             cpu {
  2117.                 sound-dai = <0x69>;
  2118.             };
  2119.  
  2120.             codec {
  2121.                 sound-dai = <0x6a>;
  2122.             };
  2123.         };
  2124.     };
  2125.  
  2126.     external-gmac-clock {
  2127.         compatible = "fixed-clock";
  2128.         clock-frequency = <0x7735940>;
  2129.         clock-output-names = "ext_gmac";
  2130.         #clock-cells = <0x0>;
  2131.         linux,phandle = <0x34>;
  2132.         phandle = <0x34>;
  2133.     };
  2134.  
  2135.     gpio-keys {
  2136.         compatible = "gpio-keys";
  2137.         #address-cells = <0x1>;
  2138.         #size-cells = <0x0>;
  2139.         autorepeat;
  2140.         pinctrl-names = "default";
  2141.         pinctrl-0 = <0x6b>;
  2142.  
  2143.         button@0 {
  2144.             gpios = <0x6c 0x9 0x1>;
  2145.             linux,code = <0x74>;
  2146.             label = "GPIO Key";
  2147.             linux,input-type = <0x1>;
  2148.             debounce-interval = <0x64>;
  2149.         };
  2150.     };
  2151.  
  2152.     vcc-host-regulator {
  2153.         compatible = "regulator-fixed";
  2154.         enable-active-high;
  2155.         gpio = <0x3f 0xe 0x0>;
  2156.         pinctrl-names = "default";
  2157.         pinctrl-0 = <0x6d>;
  2158.         regulator-name = "vcc_host";
  2159.         regulator-always-on;
  2160.         regulator-boot-on;
  2161.     };
  2162.  
  2163.     vcc-phy-regulator {
  2164.         compatible = "regulator-fixed";
  2165.         enable-active-high;
  2166.         gpio = <0x3f 0x6 0x0>;
  2167.         pinctrl-names = "default";
  2168.         pinctrl-0 = <0x6e>;
  2169.         regulator-name = "vcc_phy";
  2170.         regulator-min-microvolt = <0x325aa0>;
  2171.         regulator-max-microvolt = <0x325aa0>;
  2172.         regulator-always-on;
  2173.         regulator-boot-on;
  2174.         linux,phandle = <0x32>;
  2175.         phandle = <0x32>;
  2176.     };
  2177.  
  2178.     vsys-regulator {
  2179.         compatible = "regulator-fixed";
  2180.         regulator-name = "vcc_sys";
  2181.         regulator-min-microvolt = <0x4c4b40>;
  2182.         regulator-max-microvolt = <0x4c4b40>;
  2183.         regulator-always-on;
  2184.         regulator-boot-on;
  2185.         linux,phandle = <0x3e>;
  2186.         phandle = <0x3e>;
  2187.     };
  2188.  
  2189.     sdmmc-regulator {
  2190.         compatible = "regulator-fixed";
  2191.         gpio = <0x6c 0xb 0x1>;
  2192.         pinctrl-names = "default";
  2193.         pinctrl-0 = <0x6f>;
  2194.         regulator-name = "vcc_sd";
  2195.         regulator-min-microvolt = <0x325aa0>;
  2196.         regulator-max-microvolt = <0x325aa0>;
  2197.         startup-delay-us = <0x186a0>;
  2198.         vin-supply = <0x41>;
  2199.         linux,phandle = <0x11>;
  2200.         phandle = <0x11>;
  2201.     };
  2202.  
  2203.     io-domains {
  2204.         compatible = "rockchip,rk3288-io-voltage-domain";
  2205.         rockchip,grf = <0x9>;
  2206.         sdcard-supply = <0x12>;
  2207.     };
  2208.  
  2209.     board-leds {
  2210.         compatible = "gpio-leds";
  2211.         status = "okay";
  2212.  
  2213.         work {
  2214.             label = "System";
  2215.             linux,default-trigger = "timer";
  2216.             default-state = "on";
  2217.             gpios = <0x6c 0x2 0x0>;
  2218.         };
  2219.     };
  2220.  
  2221.     gpio-fan {
  2222.         status = "okay";
  2223.         compatible = "gpio-fan";
  2224.         gpios = <&{/pinctrl/gpio8@ff7f0000} 0x9 0x0>;
  2225.         gpio-fan,speed-map = <0 0
  2226.                        1000 1>;
  2227.         #cooling-cells = <2>; /* min followed by max */
  2228.     };
  2229.  
  2230. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement