Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Use mainline dts for rockpro64 now.



details:   https://anonhg.NetBSD.org/src/rev/e7edc6511b7f
branches:  trunk
changeset: 450935:e7edc6511b7f
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Apr 30 23:42:53 2019 +0000

description:
Use mainline dts for rockpro64 now.

diffstat:

 sys/arch/arm/dts/rk3399-rockpro64.dts |  907 ----------------------------------
 1 files changed, 0 insertions(+), 907 deletions(-)

diffs (truncated from 911 to 300 lines):

diff -r 116f82663002 -r e7edc6511b7f sys/arch/arm/dts/rk3399-rockpro64.dts
--- a/sys/arch/arm/dts/rk3399-rockpro64.dts     Tue Apr 30 23:29:18 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,907 +0,0 @@
-/*
- * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
- *
- * This file is dual-licensed: you can use it either under the terms
- * of the GPL or the X11 license, at your option. Note that this dual
- * licensing only applies to this file, and not this project as a
- * whole.
- *
- *  a) This file is free software; you can redistribute it and/or
- *     modify it under the terms of the GNU General Public License as
- *     published by the Free Software Foundation; either version 2 of the
- *     License, or (at your option) any later version.
- *
- *     This file is distributed in the hope that it will be useful,
- *     but WITHOUT ANY WARRANTY; without even the implied warranty of
- *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *     GNU General Public License for more details.
- *
- * Or, alternatively,
- *
- *  b) Permission is hereby granted, free of charge, to any person
- *     obtaining a copy of this software and associated documentation
- *     files (the "Software"), to deal in the Software without
- *     restriction, including without limitation the rights to use,
- *     copy, modify, merge, publish, distribute, sublicense, and/or
- *     sell copies of the Software, and to permit persons to whom the
- *     Software is furnished to do so, subject to the following
- *     conditions:
- *
- *     The above copyright notice and this permission notice shall be
- *     included in all copies or substantial portions of the Software.
- *
- *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- *     OTHER DEALINGS IN THE SOFTWARE.
- */
-
-/dts-v1/;
-#include <dt-bindings/pwm/pwm.h>
-#include <dt-bindings/input/input.h>
-#include "rk3399.dtsi"
-#include "rk3399-opp.dtsi"
-
-/ {
-       model = "Pine64 RockPro64";
-       compatible = "pine64,rockpro64", "rockchip,rk3399";
-
-       chosen {
-               bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1";
-               stdout-path = "serial2:1500000n8";
-       };
-
-       reserved-memory {
-               #address-cells = <2>;
-               #size-cells = <2>;
-               ranges;
-
-               drm_logo: drm-logo@00000000 {
-                       compatible = "rockchip,drm-logo";
-                       reg = <0x0 0x0 0x0 0x0>;
-               };
-       };
-
-       /* first 64k(0xff8c0000~0xff8d0000) for ddr and suspend */
-       iram: sram@ff8d0000 {
-               compatible = "mmio-sram";
-               reg = <0x0 0xff8d0000 0x0 0x20000>; /* 128k */
-       };
-
-       aliases {
-               ethernet0 = &gmac;
-       };
-
-       dc_12v: dc-12v {
-               compatible = "regulator-fixed";
-               regulator-name = "dc_12v";
-               regulator-always-on;
-               regulator-boot-on;
-               regulator-min-microvolt = <12000000>;
-               regulator-max-microvolt = <12000000>;
-       };
-
-       vcc1v8_s0: vcc1v8-s0 {
-               compatible = "regulator-fixed";
-               regulator-name = "vcc1v8_s0";
-               regulator-min-microvolt = <1800000>;
-               regulator-max-microvolt = <1800000>;
-               regulator-always-on;
-       };
-
-       vcc_sys: vcc-sys {
-               compatible = "regulator-fixed";
-               regulator-name = "vcc_sys";
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-               regulator-always-on;
-               vin-supply = <&dc_12v>;
-       };
-
-       vcc_phy: vcc-phy-regulator {
-               compatible = "regulator-fixed";
-               regulator-name = "vcc_phy";
-               regulator-always-on;
-               regulator-boot-on;
-       };
-
-       vcc3v3_sys: vcc3v3-sys {
-               compatible = "regulator-fixed";
-               regulator-name = "vcc3v3_sys";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               regulator-always-on;
-               vin-supply = <&vcc_sys>;
-       };
-
-       vcc5v0_host: vcc5v0-host-regulator {
-               compatible = "regulator-fixed";
-               enable-active-high;
-               gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&host_vbus_drv>;
-               regulator-name = "vcc5v0_host";
-               regulator-always-on;
-       };
-
-       vdd_log: vdd-log {
-               compatible = "pwm-regulator";
-               pwms = <&pwm2 0 25000 1>;
-               pwm-supply = <&vcc_sys>;
-               regulator-name = "vdd_log";
-               regulator-min-microvolt = <800000>;
-               regulator-max-microvolt = <1400000>;
-               regulator-always-on;
-               regulator-boot-on;
-
-               /* for rockchip boot on */
-               rockchip,pwm_id= <2>;
-               rockchip,pwm_voltage = <900000>;
-       };
-
-       clkin_gmac: external-gmac-clock {
-               compatible = "fixed-clock";
-               clock-frequency = <125000000>;
-               clock-output-names = "clkin_gmac";
-               #clock-cells = <0>;
-       };
-
-       spdif_out: spdif-out {
-               status = "okay";
-               compatible = "linux,spdif-dit";
-               #sound-dai-cells = <0>;
-       };
-
-       sdio_pwrseq: sdio-pwrseq {
-               compatible = "mmc-pwrseq-simple";
-               clocks = <&rk808 1>;
-               clock-names = "ext_clock";
-               pinctrl-names = "default";
-               pinctrl-0 = <&wifi_enable_h>;
-
-               /*
-                * On the module itself this is one of these (depending
-                * on the actual card populated):
-                * - SDIO_RESET_L_WL_REG_ON
-                * - PDN (power down when low)
-                */
-               reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
-       };
-
-       xin32k: xin32k {
-               compatible = "fixed-clock";
-               clock-frequency = <32768>;
-               clock-output-names = "xin32k";
-               #clock-cells = <0>;
-       };
-
-       wireless-wlan {
-               compatible = "wlan-platdata";
-               rockchip,grf = <&grf>;
-               wifi_chip_type = "ap6354";
-               sdio_vref = <1800>;
-               WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>;
-               status = "okay";
-       };
-
-       wireless-bluetooth {
-               compatible = "bluetooth-platdata";
-               clocks = <&rk808 1>;
-               clock-names = "ext_clock";
-               uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
-               pinctrl-names = "default", "rts_gpio";
-               pinctrl-0 = <&uart0_rts>;
-               pinctrl-1 = <&uart0_gpios>;
-               BT,reset_gpio    = <&gpio0 9 GPIO_ACTIVE_HIGH>;
-               BT,wake_gpio     = <&gpio2 27 GPIO_ACTIVE_HIGH>;
-               BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>;
-               status = "okay";
-       };
-
-       hdmi_dp_sound: hdmi-dp-sound {
-               status = "okay";
-               compatible = "rockchip,rk3399-hdmi-dp";
-               rockchip,cpu = <&i2s2>;
-               rockchip,codec = <&hdmi>, <&cdn_dp>;
-       };
-
-       test-power {
-               status = "okay";
-       };
-
-       leds {
-               status = "okay";
-               compatible = "gpio-leds";
-               work-led {
-                       gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "none";
-                       default-state = "on";
-                       mode = <0x23>;
-               };
-               diy-led {
-                       gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "none";
-                       default-state = "on";
-                       mode = <0x23>;
-               };
-       };
-
-       fan0: pwm-fan {
-               compatible = "pwm-fan";
-               pwms = <&pwm1 0 20000000 0>;
-               cooling-min-state = <0>;
-               cooling-max-state = <3>;
-               #cooling-cells = <2>;
-               cooling-levels = <0 102 170 230>;
-       }; 
-
-       rk_key: rockchip-key {
-               compatible = "rockchip,key";
-               status = "okay";
-
-               io-channels = <&saradc 1>;
-
-               power-key {
-                       gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
-                       linux,code = <116>;
-                       label = "power";
-                       gpio-key,wakeup;
-               };
-       };
-};
-
-&sdmmc {
-       clock-frequency = <50000000>;
-       clock-freq-min-max = <400000 150000000>;
-       supports-sd;
-       bus-width = <4>;
-       cap-mmc-highspeed;
-       cap-sd-highspeed;
-       disable-wp;
-       num-slots = <1>;
-       sd-uhs-sdr104;
-       vqmmc-supply = <&vcc_sd>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
-       card-detect-delay = <800>;
-       status = "okay";
-};
-
-&sdio0 {
-       clock-frequency = <50000000>;
-       clock-freq-min-max = <200000 50000000>;
-       supports-sdio;
-       bus-width = <4>;
-       disable-wp;
-       cap-sd-highspeed;
-       cap-sdio-irq;
-       keep-power-in-suspend;
-       mmc-pwrseq = <&sdio_pwrseq>;
-       non-removable;
-       num-slots = <1>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
-       sd-uhs-sdr104;
-       status = "disabled";
-};
-
-&emmc_phy {
-       status = "okay";
-};
-
-&sdhci {



Home | Main Index | Thread Index | Old Index