1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2020 Rockchip Electronics Co., Ltd. 4 */ 5 6/ { 7 chosen { 8 bootargs = "earlycon=uart8250,mmio32,0xff570000 loglevel=0 initcall_nr_threads=-1 initcall_debug=0 printk.devkmsg=on root=/dev/rd0 console=ttyFIQ0 snd_aloop.index=7 driver_async_probe=dwmmc_rockchip"; 9 }; 10 11 vcc_3v3: vcc-3v3 { 12 compatible = "regulator-fixed"; 13 regulator-name = "vcc_3v3"; 14 regulator-always-on; 15 regulator-boot-on; 16 regulator-min-microvolt = <3300000>; 17 regulator-max-microvolt = <3300000>; 18 }; 19 20 vdd_arm: vdd-arm { 21 compatible = "pwm-regulator"; 22 pwms = <&pwm0 0 5000 1>; 23 regulator-name = "vdd_arm"; 24 regulator-min-microvolt = <720000>; 25 regulator-max-microvolt = <1000000>; 26 regulator-init-microvolt = <824000>; 27 regulator-always-on; 28 regulator-boot-on; 29 regulator-settling-time-up-us = <250>; 30 pwm-supply = <&vcc_3v3>; 31 }; 32}; 33 34&cpu0 { 35 cpu-supply = <&vdd_arm>; 36}; 37 38&cpu_tsadc { 39 status = "okay"; 40}; 41 42&display_subsystem { 43 status = "okay"; 44}; 45 46&fiq_debugger { 47 status = "okay"; 48}; 49 50&mpp_srv { 51 status = "okay"; 52}; 53 54&nandc { 55 /delete-property/ pinctrl-names; 56 /delete-property/ pinctrl-0; 57 status = "disabled"; 58 #address-cells = <1>; 59 #size-cells = <0>; 60 61 nand@0 { 62 reg = <0>; 63 nand-bus-width = <8>; 64 nand-ecc-mode = "hw"; 65 nand-ecc-strength = <16>; 66 nand-ecc-step-size = <1024>; 67 }; 68}; 69 70&npu { 71 status = "okay"; 72}; 73 74&npu_tsadc { 75 status = "okay"; 76}; 77 78&optee { 79 status = "disabled"; 80}; 81 82&otp { 83 status = "okay"; 84}; 85 86&pwm0 { 87 status = "okay"; 88 pinctrl-names = "active"; 89 pinctrl-0 = <&pwm0m0_pins_pull_down>; 90}; 91 92&ramoops { 93 status = "okay"; 94}; 95 96&rk_rga { 97 status = "okay"; 98}; 99 100&rkisp { 101 status = "okay"; 102}; 103 104&rkisp_vir0 { 105 status = "okay"; 106}; 107 108&rkisp_mmu { 109 status = "disabled"; 110}; 111 112&rkispp { 113 rockchip,restart-monitor-en; 114 status = "okay"; 115}; 116 117&rkispp_vir0 { 118 status = "okay"; 119}; 120 121&rkispp_mmu { 122 status = "okay"; 123}; 124 125&rkvenc { 126 status = "okay"; 127}; 128 129&rkvenc_mmu { 130 status = "okay"; 131}; 132 133&rng { 134 status = "okay"; 135}; 136 137&sfc { 138 /delete-property/ pinctrl-names; 139 /delete-property/ pinctrl-0; 140 status = "disabled"; 141}; 142 143&u2phy0 { 144 status = "okay"; 145 u2phy_otg: otg-port { 146 status = "okay"; 147 }; 148}; 149 150&usbdrd { 151 status = "okay"; 152}; 153 154&usbdrd_dwc3 { 155 status = "okay"; 156 extcon = <&u2phy0>; 157}; 158 159&vop { 160 status = "okay"; 161}; 162