forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/tegra20-trimslice.dts
....@@ -3,6 +3,7 @@
33
44 #include <dt-bindings/input/input.h>
55 #include "tegra20.dtsi"
6
+#include "tegra20-cpu-opp.dtsi"
67
78 / {
89 model = "Compulab TrimSlice board";
....@@ -287,7 +288,7 @@
287288 status = "okay";
288289 spi-max-frequency = <48000000>;
289290 spi-flash@0 {
290
- compatible = "winbond,w25q80bl";
291
+ compatible = "winbond,w25q80bl", "jedec,spi-nor";
291292 reg = <0>;
292293 spi-max-frequency = <48000000>;
293294 };
....@@ -365,30 +366,23 @@
365366 status = "okay";
366367 };
367368
368
- sdhci@c8000000 {
369
+ mmc@c8000000 {
369370 status = "okay";
370371 broken-cd;
371372 bus-width = <4>;
372373 };
373374
374
- sdhci@c8000600 {
375
+ mmc@c8000600 {
375376 status = "okay";
376377 cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
377378 wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
378379 bus-width = <4>;
379380 };
380381
381
- clocks {
382
- compatible = "simple-bus";
383
- #address-cells = <1>;
384
- #size-cells = <0>;
385
-
386
- clk32k_in: clock@0 {
387
- compatible = "fixed-clock";
388
- reg = <0>;
389
- #clock-cells = <0>;
390
- clock-frequency = <32768>;
391
- };
382
+ clk32k_in: clock@0 {
383
+ compatible = "fixed-clock";
384
+ clock-frequency = <32768>;
385
+ #clock-cells = <0>;
392386 };
393387
394388 gpio-keys {
....@@ -407,58 +401,47 @@
407401 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
408402 };
409403
410
- regulators {
411
- compatible = "simple-bus";
412
- #address-cells = <1>;
413
- #size-cells = <0>;
404
+ hdmi_vdd_reg: regulator@0 {
405
+ compatible = "regulator-fixed";
406
+ regulator-name = "avdd_hdmi";
407
+ regulator-min-microvolt = <3300000>;
408
+ regulator-max-microvolt = <3300000>;
409
+ regulator-always-on;
410
+ };
414411
415
- hdmi_vdd_reg: regulator@0 {
416
- compatible = "regulator-fixed";
417
- reg = <0>;
418
- regulator-name = "avdd_hdmi";
419
- regulator-min-microvolt = <3300000>;
420
- regulator-max-microvolt = <3300000>;
421
- regulator-always-on;
422
- };
412
+ hdmi_pll_reg: regulator@1 {
413
+ compatible = "regulator-fixed";
414
+ regulator-name = "avdd_hdmi_pll";
415
+ regulator-min-microvolt = <1800000>;
416
+ regulator-max-microvolt = <1800000>;
417
+ regulator-always-on;
418
+ };
423419
424
- hdmi_pll_reg: regulator@1 {
425
- compatible = "regulator-fixed";
426
- reg = <1>;
427
- regulator-name = "avdd_hdmi_pll";
428
- regulator-min-microvolt = <1800000>;
429
- regulator-max-microvolt = <1800000>;
430
- regulator-always-on;
431
- };
420
+ vbus_reg: regulator@2 {
421
+ compatible = "regulator-fixed";
422
+ regulator-name = "usb1_vbus";
423
+ regulator-min-microvolt = <5000000>;
424
+ regulator-max-microvolt = <5000000>;
425
+ enable-active-high;
426
+ gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
427
+ regulator-always-on;
428
+ regulator-boot-on;
429
+ };
432430
433
- vbus_reg: regulator@2 {
434
- compatible = "regulator-fixed";
435
- reg = <2>;
436
- regulator-name = "usb1_vbus";
437
- regulator-min-microvolt = <5000000>;
438
- regulator-max-microvolt = <5000000>;
439
- enable-active-high;
440
- gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
441
- regulator-always-on;
442
- regulator-boot-on;
443
- };
431
+ pci_clk_reg: regulator@3 {
432
+ compatible = "regulator-fixed";
433
+ regulator-name = "pci_clk";
434
+ regulator-min-microvolt = <3300000>;
435
+ regulator-max-microvolt = <3300000>;
436
+ regulator-always-on;
437
+ };
444438
445
- pci_clk_reg: regulator@3 {
446
- compatible = "regulator-fixed";
447
- reg = <3>;
448
- regulator-name = "pci_clk";
449
- regulator-min-microvolt = <3300000>;
450
- regulator-max-microvolt = <3300000>;
451
- regulator-always-on;
452
- };
453
-
454
- pci_vdd_reg: regulator@4 {
455
- compatible = "regulator-fixed";
456
- reg = <4>;
457
- regulator-name = "pci_vdd";
458
- regulator-min-microvolt = <1050000>;
459
- regulator-max-microvolt = <1050000>;
460
- regulator-always-on;
461
- };
439
+ pci_vdd_reg: regulator@4 {
440
+ compatible = "regulator-fixed";
441
+ regulator-name = "pci_vdd";
442
+ regulator-min-microvolt = <1050000>;
443
+ regulator-max-microvolt = <1050000>;
444
+ regulator-always-on;
462445 };
463446
464447 sound {
....@@ -471,4 +454,14 @@
471454 <&tegra_car TEGRA20_CLK_CDEV1>;
472455 clock-names = "pll_a", "pll_a_out0", "mclk";
473456 };
457
+
458
+ cpus {
459
+ cpu0: cpu@0 {
460
+ operating-points-v2 = <&cpu0_opp_table>;
461
+ };
462
+
463
+ cpu@1 {
464
+ operating-points-v2 = <&cpu0_opp_table>;
465
+ };
466
+ };
474467 };