Advertisement
Guest User

rk3288_miqi.dts

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