1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Device Tree Source for OMAP4460 SoC 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 6f126890aSEmmanuel Vadot */ 7f126890aSEmmanuel Vadot#include "omap4.dtsi" 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot/ { 10f126890aSEmmanuel Vadot cpus { 11f126890aSEmmanuel Vadot /* OMAP446x 'standard device' variants OPP50 to OPPTurbo */ 12f126890aSEmmanuel Vadot cpu0: cpu@0 { 13f126890aSEmmanuel Vadot operating-points = < 14f126890aSEmmanuel Vadot /* kHz uV */ 15f126890aSEmmanuel Vadot 350000 1025000 16f126890aSEmmanuel Vadot 700000 1200000 17f126890aSEmmanuel Vadot 920000 1313000 18f126890aSEmmanuel Vadot >; 19f126890aSEmmanuel Vadot clock-latency = <300000>; /* From legacy driver */ 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot /* cooling options */ 22f126890aSEmmanuel Vadot #cooling-cells = <2>; /* min followed by max */ 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot }; 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot thermal-zones { 27f126890aSEmmanuel Vadot #include "omap4-cpu-thermal.dtsi" 28f126890aSEmmanuel Vadot }; 29f126890aSEmmanuel Vadot 30f126890aSEmmanuel Vadot ocp { 31f126890aSEmmanuel Vadot bandgap: bandgap@4a002260 { 32f126890aSEmmanuel Vadot reg = <0x4a002260 0x4 33f126890aSEmmanuel Vadot 0x4a00232C 0x4 34f126890aSEmmanuel Vadot 0x4a002378 0x18>; 35f126890aSEmmanuel Vadot compatible = "ti,omap4460-bandgap"; 36f126890aSEmmanuel Vadot interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>; /* talert */ 37f126890aSEmmanuel Vadot gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>; /* tshut */ 38f126890aSEmmanuel Vadot 39f126890aSEmmanuel Vadot #thermal-sensor-cells = <0>; 40f126890aSEmmanuel Vadot }; 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot abb_mpu: regulator-abb-mpu { 43f126890aSEmmanuel Vadot status = "okay"; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot reg = <0x4a307bd0 0x8>, <0x4a306014 0x4>, 46f126890aSEmmanuel Vadot <0x4A002268 0x4>; 47f126890aSEmmanuel Vadot reg-names = "base-address", "int-address", 48f126890aSEmmanuel Vadot "efuse-address"; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot ti,abb_info = < 51f126890aSEmmanuel Vadot /*uV ABB efuse rbb_m fbb_m vset_m*/ 52f126890aSEmmanuel Vadot 1025000 0 0 0 0 0 53f126890aSEmmanuel Vadot 1200000 0 0 0 0 0 54f126890aSEmmanuel Vadot 1313000 0 0 0x100000 0x40000 0 55f126890aSEmmanuel Vadot 1375000 1 0 0 0 0 56f126890aSEmmanuel Vadot 1389000 1 0 0 0 0 57f126890aSEmmanuel Vadot >; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot 60f126890aSEmmanuel Vadot abb_iva: regulator-abb-iva { 61f126890aSEmmanuel Vadot status = "okay"; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot reg = <0x4a307bd8 0x8>, <0x4a306010 0x4>, 64f126890aSEmmanuel Vadot <0x4A002268 0x4>; 65f126890aSEmmanuel Vadot reg-names = "base-address", "int-address", 66f126890aSEmmanuel Vadot "efuse-address"; 67f126890aSEmmanuel Vadot 68f126890aSEmmanuel Vadot ti,abb_info = < 69f126890aSEmmanuel Vadot /*uV ABB efuse rbb_m fbb_m vset_m*/ 70f126890aSEmmanuel Vadot 950000 0 0 0 0 0 71f126890aSEmmanuel Vadot 1140000 0 0 0 0 0 72f126890aSEmmanuel Vadot 1291000 0 0 0x200000 0 0 73f126890aSEmmanuel Vadot 1375000 1 0 0 0 0 74f126890aSEmmanuel Vadot 1376000 1 0 0 0 0 75f126890aSEmmanuel Vadot >; 76f126890aSEmmanuel Vadot }; 77f126890aSEmmanuel Vadot }; 78f126890aSEmmanuel Vadot 79f126890aSEmmanuel Vadot}; 80f126890aSEmmanuel Vadot 81f126890aSEmmanuel Vadot&cpu_thermal { 82*aa1a8ff2SEmmanuel Vadot thermal-sensors = <&bandgap>; 83f126890aSEmmanuel Vadot coefficients = <348 (-9301)>; 84f126890aSEmmanuel Vadot}; 85f126890aSEmmanuel Vadot 86f126890aSEmmanuel Vadot/* Only some L4 CFG interconnect ranges are different on 4460 */ 87f126890aSEmmanuel Vadot&l4_cfg_segment_300000 { 88f126890aSEmmanuel Vadot ranges = <0x00000000 0x00300000 0x020000>, /* ap 67 */ 89f126890aSEmmanuel Vadot <0x00040000 0x00340000 0x001000>, /* ap 68 */ 90f126890aSEmmanuel Vadot <0x00020000 0x00320000 0x004000>, /* ap 71 */ 91f126890aSEmmanuel Vadot <0x00024000 0x00324000 0x002000>, /* ap 72 */ 92f126890aSEmmanuel Vadot <0x00026000 0x00326000 0x001000>, /* ap 73 */ 93f126890aSEmmanuel Vadot <0x00027000 0x00327000 0x001000>, /* ap 74 */ 94f126890aSEmmanuel Vadot <0x00028000 0x00328000 0x001000>, /* ap 75 */ 95f126890aSEmmanuel Vadot <0x00029000 0x00329000 0x001000>, /* ap 76 */ 96f126890aSEmmanuel Vadot <0x00030000 0x00330000 0x010000>, /* ap 77 */ 97f126890aSEmmanuel Vadot <0x0002a000 0x0032a000 0x002000>, /* ap 90 */ 98f126890aSEmmanuel Vadot <0x0002c000 0x0032c000 0x004000>, /* ap 91 */ 99f126890aSEmmanuel Vadot <0x00010000 0x00310000 0x008000>, /* ap 92 */ 100f126890aSEmmanuel Vadot <0x00018000 0x00318000 0x004000>, /* ap 93 */ 101f126890aSEmmanuel Vadot <0x0001c000 0x0031c000 0x002000>, /* ap 94 */ 102f126890aSEmmanuel Vadot <0x0001e000 0x0031e000 0x002000>; /* ap 95 */ 103f126890aSEmmanuel Vadot}; 104f126890aSEmmanuel Vadot 105f126890aSEmmanuel Vadot&l4_cfg_target_0 { 106f126890aSEmmanuel Vadot ranges = <0x00000000 0x00000000 0x00010000>, 107f126890aSEmmanuel Vadot <0x00010000 0x00010000 0x00008000>, 108f126890aSEmmanuel Vadot <0x00018000 0x00018000 0x00004000>, 109f126890aSEmmanuel Vadot <0x0001c000 0x0001c000 0x00002000>, 110f126890aSEmmanuel Vadot <0x0001e000 0x0001e000 0x00002000>, 111f126890aSEmmanuel Vadot <0x00020000 0x00020000 0x00004000>, 112f126890aSEmmanuel Vadot <0x00024000 0x00024000 0x00002000>, 113f126890aSEmmanuel Vadot <0x00026000 0x00026000 0x00001000>, 114f126890aSEmmanuel Vadot <0x00027000 0x00027000 0x00001000>, 115f126890aSEmmanuel Vadot <0x00028000 0x00028000 0x00001000>, 116f126890aSEmmanuel Vadot <0x00029000 0x00029000 0x00001000>, 117f126890aSEmmanuel Vadot <0x0002a000 0x0002a000 0x00002000>, 118f126890aSEmmanuel Vadot <0x0002c000 0x0002c000 0x00004000>, 119f126890aSEmmanuel Vadot <0x00030000 0x00030000 0x00010000>; 120f126890aSEmmanuel Vadot}; 121f126890aSEmmanuel Vadot 122f126890aSEmmanuel Vadot&pmu { 123f126890aSEmmanuel Vadot compatible = "arm,cortex-a9-pmu"; 124f126890aSEmmanuel Vadot interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 125f126890aSEmmanuel Vadot <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 126f126890aSEmmanuel Vadot}; 127f126890aSEmmanuel Vadot 128f126890aSEmmanuel Vadot/include/ "omap446x-clocks.dtsi" 129