| .. | .. |
|---|
| 57 | 57 | |
|---|
| 58 | 58 | aliases { |
|---|
| 59 | 59 | ethernet0 = &gmac; |
|---|
| 60 | | - serial0 = &uart0; |
|---|
| 61 | | - serial1 = &uart1; |
|---|
| 62 | | - serial2 = &uart2; |
|---|
| 63 | 60 | i2c0 = &i2c0; |
|---|
| 64 | 61 | i2c1 = &i2c1; |
|---|
| 65 | 62 | i2c2 = &i2c2; |
|---|
| .. | .. |
|---|
| 67 | 64 | mmc0 = &sdmmc; |
|---|
| 68 | 65 | mmc1 = &sdio; |
|---|
| 69 | 66 | mmc2 = &emmc; |
|---|
| 67 | + serial0 = &uart0; |
|---|
| 68 | + serial1 = &uart1; |
|---|
| 69 | + serial2 = &uart2; |
|---|
| 70 | + spi0 = &spi0; |
|---|
| 70 | 71 | }; |
|---|
| 71 | 72 | |
|---|
| 72 | 73 | cpus { |
|---|
| .. | .. |
|---|
| 113 | 114 | clocks = <&cru PLL_APLL>; |
|---|
| 114 | 115 | rockchip,leakage-voltage-sel = < |
|---|
| 115 | 116 | 1 13 0 |
|---|
| 116 | | - 14 18 1 |
|---|
| 117 | | - 18 254 2 |
|---|
| 117 | + 14 49 1 |
|---|
| 118 | + 50 254 2 |
|---|
| 118 | 119 | >; |
|---|
| 119 | 120 | nvmem-cells = <&cpu_leakage>; |
|---|
| 120 | 121 | nvmem-cell-names = "cpu_leakage"; |
|---|
| .. | .. |
|---|
| 233 | 234 | system-status-freq = < |
|---|
| 234 | 235 | /*system status freq(KHz)*/ |
|---|
| 235 | 236 | SYS_STATUS_NORMAL 456000 |
|---|
| 236 | | - SYS_STATUS_SUSPEND 456000 |
|---|
| 237 | + SYS_STATUS_SUSPEND 300000 |
|---|
| 237 | 238 | SYS_STATUS_REBOOT 456000 |
|---|
| 238 | 239 | >; |
|---|
| 239 | 240 | auto-min-freq = <456000>; |
|---|
| .. | .. |
|---|
| 247 | 248 | opp-200000000 { |
|---|
| 248 | 249 | opp-hz = /bits/ 64 <200000000>; |
|---|
| 249 | 250 | opp-microvolt = <1025000>; |
|---|
| 251 | + status = "disabled"; |
|---|
| 250 | 252 | }; |
|---|
| 251 | 253 | opp-300000000 { |
|---|
| 252 | 254 | opp-hz = /bits/ 64 <300000000>; |
|---|
| .. | .. |
|---|
| 615 | 617 | clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>; |
|---|
| 616 | 618 | clock-names = "aclk_rga", "hclk_rga", "sclk_rga"; |
|---|
| 617 | 619 | power-domains = <&power RK3128_PD_VIO>; |
|---|
| 618 | | - dma-coherent; |
|---|
| 619 | 620 | status = "disabled"; |
|---|
| 620 | 621 | }; |
|---|
| 621 | 622 | |
|---|
| .. | .. |
|---|
| 670 | 671 | compatible = "rockchip,rk3128-mipi-dsi"; |
|---|
| 671 | 672 | reg = <0x10110000 0x4000>; |
|---|
| 672 | 673 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 673 | | - clocks = <&cru PCLK_MIPI>, <&cru HCLK_VIO_H2P>, <&video_phy>; |
|---|
| 674 | | - clock-names = "pclk", "h2p", "hs_clk"; |
|---|
| 674 | + clocks = <&cru PCLK_MIPI>, <&cru HCLK_VIO_H2P>; |
|---|
| 675 | + clock-names = "pclk", "hclk"; |
|---|
| 675 | 676 | resets = <&cru SRST_VIO_MIPI_DSI>; |
|---|
| 676 | 677 | reset-names = "apb"; |
|---|
| 677 | 678 | phys = <&video_phy>; |
|---|
| 678 | | - phy-names = "mipi_dphy"; |
|---|
| 679 | + phy-names = "dphy"; |
|---|
| 679 | 680 | power-domains = <&power RK3128_PD_VIO>; |
|---|
| 680 | 681 | rockchip,grf = <&grf>; |
|---|
| 681 | 682 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 831 | 832 | #size-cells = <0>; |
|---|
| 832 | 833 | pinctrl-names = "default"; |
|---|
| 833 | 834 | pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; |
|---|
| 834 | | - clock-freq-min-max = <400000 50000000>; |
|---|
| 835 | | - clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>; |
|---|
| 836 | | - clock-names = "biu", "ciu"; |
|---|
| 835 | + max-frequency = <50000000>; |
|---|
| 836 | + clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; |
|---|
| 837 | + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; |
|---|
| 837 | 838 | dmas = <&pdma 10>; |
|---|
| 838 | 839 | dma-names = "rx-tx"; |
|---|
| 839 | | - num-slots = <1>; |
|---|
| 840 | 840 | fifo-depth = <0x100>; |
|---|
| 841 | 841 | bus-width = <4>; |
|---|
| 842 | 842 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 996 | 996 | }; |
|---|
| 997 | 997 | |
|---|
| 998 | 998 | video_phy: video-phy@20038000 { |
|---|
| 999 | | - compatible = "rockchip,rk3128-video-phy"; |
|---|
| 999 | + compatible = "rockchip,rk3128-dsi-dphy", "rockchip,rk3128-video-phy"; |
|---|
| 1000 | 1000 | reg = <0x20038000 0x4000>, <0x10110000 0x4000>; |
|---|
| 1001 | + reg-names = "phy", "host"; |
|---|
| 1001 | 1002 | clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPIPHY>, |
|---|
| 1002 | 1003 | <&cru PCLK_MIPI>; |
|---|
| 1003 | | - clock-names = "ref", "pclk_phy", "pclk_host"; |
|---|
| 1004 | + clock-names = "ref", "pclk", "pclk_host"; |
|---|
| 1004 | 1005 | #clock-cells = <0>; |
|---|
| 1005 | 1006 | resets = <&cru SRST_MIPIPHY_P>; |
|---|
| 1006 | | - reset-names = "rst"; |
|---|
| 1007 | + reset-names = "apb"; |
|---|
| 1007 | 1008 | power-domains = <&power RK3128_PD_VIO>; |
|---|
| 1008 | 1009 | #phy-cells = <0>; |
|---|
| 1009 | 1010 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 1180 | 1181 | reg = <0x20074000 0x1000>; |
|---|
| 1181 | 1182 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1182 | 1183 | pinctrl-names = "default"; |
|---|
| 1183 | | - pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>; |
|---|
| 1184 | + pinctrl-0 = <&spi0m0_tx &spi0m0_rx &spi0m0_clk &spi0m0_cs0 &spi0m0_cs1>; |
|---|
| 1184 | 1185 | clock-names = "spiclk", "apb_pclk"; |
|---|
| 1185 | 1186 | dmas = <&pdma 8>, <&pdma 9>; |
|---|
| 1186 | 1187 | dma-names = "tx", "rx"; |
|---|
| .. | .. |
|---|
| 1464 | 1465 | rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>; |
|---|
| 1465 | 1466 | }; |
|---|
| 1466 | 1467 | |
|---|
| 1468 | + sdmmc_det: sdmmc-det { |
|---|
| 1469 | + rockchip,pins = <1 RK_PC1 1 &pcfg_pull_none>; |
|---|
| 1470 | + }; |
|---|
| 1471 | + |
|---|
| 1467 | 1472 | sdmmc_cmd: sdmmc-cmd { |
|---|
| 1468 | 1473 | rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>; |
|---|
| 1469 | 1474 | }; |
|---|
| .. | .. |
|---|
| 1603 | 1608 | }; |
|---|
| 1604 | 1609 | }; |
|---|
| 1605 | 1610 | |
|---|
| 1606 | | - spi { |
|---|
| 1607 | | - spi0_clk: spi0-clk { |
|---|
| 1611 | + spi0 { |
|---|
| 1612 | + spi0m0_clk: spi0m0-clk { |
|---|
| 1608 | 1613 | rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>; |
|---|
| 1609 | 1614 | }; |
|---|
| 1610 | 1615 | |
|---|
| 1611 | | - spi0_cs0: spi0-cs0 { |
|---|
| 1616 | + spi0m0_cs0: spi0m0-cs0 { |
|---|
| 1612 | 1617 | rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>; |
|---|
| 1613 | 1618 | }; |
|---|
| 1614 | 1619 | |
|---|
| 1615 | | - spi0_tx: spi0-tx { |
|---|
| 1620 | + spi0m0_tx: spi0m0-tx { |
|---|
| 1616 | 1621 | rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>; |
|---|
| 1617 | 1622 | }; |
|---|
| 1618 | 1623 | |
|---|
| 1619 | | - spi0_rx: spi0-rx { |
|---|
| 1624 | + spi0m0_rx: spi0m0-rx { |
|---|
| 1620 | 1625 | rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>; |
|---|
| 1621 | 1626 | }; |
|---|
| 1622 | 1627 | |
|---|
| 1623 | | - spi0_cs1: spi0-cs1 { |
|---|
| 1628 | + spi0m0_cs1: spi0m0-cs1 { |
|---|
| 1624 | 1629 | rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>; |
|---|
| 1625 | 1630 | }; |
|---|
| 1626 | 1631 | |
|---|
| 1627 | | - spi1_clk: spi1-clk { |
|---|
| 1632 | + spi0m1_clk: spi0m1-clk { |
|---|
| 1628 | 1633 | rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>; |
|---|
| 1629 | 1634 | }; |
|---|
| 1630 | 1635 | |
|---|
| 1631 | | - spi1_cs0: spi1-cs0 { |
|---|
| 1636 | + spi0m1_cs0: spi0m1-cs0 { |
|---|
| 1632 | 1637 | rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>; |
|---|
| 1633 | 1638 | }; |
|---|
| 1634 | 1639 | |
|---|
| 1635 | | - spi1_tx: spi1-tx { |
|---|
| 1640 | + spi0m1_tx: spi0m1-tx { |
|---|
| 1636 | 1641 | rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>; |
|---|
| 1637 | 1642 | }; |
|---|
| 1638 | 1643 | |
|---|
| 1639 | | - spi1_rx: spi1-rx { |
|---|
| 1644 | + spi0m1_rx: spi0m1-rx { |
|---|
| 1640 | 1645 | rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>; |
|---|
| 1641 | 1646 | }; |
|---|
| 1642 | 1647 | |
|---|
| 1643 | | - spi1_cs1: spi1-cs1 { |
|---|
| 1648 | + spi0m1_cs1: spi0m1-cs1 { |
|---|
| 1644 | 1649 | rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>; |
|---|
| 1645 | 1650 | }; |
|---|
| 1646 | 1651 | |
|---|
| 1647 | | - spi2_clk: spi2-clk { |
|---|
| 1652 | + spi0m2_clk: spi0m2-clk { |
|---|
| 1648 | 1653 | rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>; |
|---|
| 1649 | 1654 | }; |
|---|
| 1650 | 1655 | |
|---|
| 1651 | | - spi2_cs0: spi2-cs0 { |
|---|
| 1656 | + spi0m2_cs0: spi0m2-cs0 { |
|---|
| 1652 | 1657 | rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>; |
|---|
| 1653 | 1658 | }; |
|---|
| 1654 | 1659 | |
|---|
| 1655 | | - spi2_tx: spi2-tx { |
|---|
| 1660 | + spi0m2_tx: spi0m2-tx { |
|---|
| 1656 | 1661 | rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>; |
|---|
| 1657 | 1662 | }; |
|---|
| 1658 | 1663 | |
|---|
| 1659 | | - spi2_rx: spi2-rx { |
|---|
| 1664 | + spi0m2_rx: spi0m2-rx { |
|---|
| 1660 | 1665 | rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>; |
|---|
| 1661 | 1666 | }; |
|---|
| 1662 | 1667 | }; |
|---|