1ea89fdf2SPeter Griffin// SPDX-License-Identifier: GPL-2.0-only 2ea89fdf2SPeter Griffin/* 3ea89fdf2SPeter Griffin * GS101 SoC 4ea89fdf2SPeter Griffin * 5ea89fdf2SPeter Griffin * Copyright 2019-2023 Google LLC 6ea89fdf2SPeter Griffin * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org> 7ea89fdf2SPeter Griffin */ 8ea89fdf2SPeter Griffin 9ea89fdf2SPeter Griffin#include <dt-bindings/clock/google,gs101.h> 10ea89fdf2SPeter Griffin#include <dt-bindings/gpio/gpio.h> 11ea89fdf2SPeter Griffin#include <dt-bindings/interrupt-controller/arm-gic.h> 12ea89fdf2SPeter Griffin#include <dt-bindings/soc/samsung,exynos-usi.h> 13ea89fdf2SPeter Griffin 14ea89fdf2SPeter Griffin/ { 15ea89fdf2SPeter Griffin compatible = "google,gs101"; 16ea89fdf2SPeter Griffin #address-cells = <2>; 17ea89fdf2SPeter Griffin #size-cells = <1>; 18ea89fdf2SPeter Griffin 19ea89fdf2SPeter Griffin interrupt-parent = <&gic>; 20ea89fdf2SPeter Griffin 21ea89fdf2SPeter Griffin aliases { 22ea89fdf2SPeter Griffin pinctrl0 = &pinctrl_gpio_alive; 23ea89fdf2SPeter Griffin pinctrl1 = &pinctrl_far_alive; 24ea89fdf2SPeter Griffin pinctrl2 = &pinctrl_gsacore; 25ea89fdf2SPeter Griffin pinctrl3 = &pinctrl_gsactrl; 26ea89fdf2SPeter Griffin pinctrl4 = &pinctrl_peric0; 27ea89fdf2SPeter Griffin pinctrl5 = &pinctrl_peric1; 28ea89fdf2SPeter Griffin pinctrl6 = &pinctrl_hsi1; 29ea89fdf2SPeter Griffin pinctrl7 = &pinctrl_hsi2; 30ea89fdf2SPeter Griffin }; 31ea89fdf2SPeter Griffin 32ea89fdf2SPeter Griffin cpus { 33ea89fdf2SPeter Griffin #address-cells = <1>; 34ea89fdf2SPeter Griffin #size-cells = <0>; 35ea89fdf2SPeter Griffin 36ea89fdf2SPeter Griffin cpu-map { 37ea89fdf2SPeter Griffin cluster0 { 38ea89fdf2SPeter Griffin core0 { 39ea89fdf2SPeter Griffin cpu = <&cpu0>; 40ea89fdf2SPeter Griffin }; 41ea89fdf2SPeter Griffin core1 { 42ea89fdf2SPeter Griffin cpu = <&cpu1>; 43ea89fdf2SPeter Griffin }; 44ea89fdf2SPeter Griffin core2 { 45ea89fdf2SPeter Griffin cpu = <&cpu2>; 46ea89fdf2SPeter Griffin }; 47ea89fdf2SPeter Griffin core3 { 48ea89fdf2SPeter Griffin cpu = <&cpu3>; 49ea89fdf2SPeter Griffin }; 50ea89fdf2SPeter Griffin }; 51ea89fdf2SPeter Griffin 52ea89fdf2SPeter Griffin cluster1 { 53ea89fdf2SPeter Griffin core0 { 54ea89fdf2SPeter Griffin cpu = <&cpu4>; 55ea89fdf2SPeter Griffin }; 56ea89fdf2SPeter Griffin core1 { 57ea89fdf2SPeter Griffin cpu = <&cpu5>; 58ea89fdf2SPeter Griffin }; 59ea89fdf2SPeter Griffin }; 60ea89fdf2SPeter Griffin 61ea89fdf2SPeter Griffin cluster2 { 62ea89fdf2SPeter Griffin core0 { 63ea89fdf2SPeter Griffin cpu = <&cpu6>; 64ea89fdf2SPeter Griffin }; 65ea89fdf2SPeter Griffin core1 { 66ea89fdf2SPeter Griffin cpu = <&cpu7>; 67ea89fdf2SPeter Griffin }; 68ea89fdf2SPeter Griffin }; 69ea89fdf2SPeter Griffin }; 70ea89fdf2SPeter Griffin 71ea89fdf2SPeter Griffin cpu0: cpu@0 { 72ea89fdf2SPeter Griffin device_type = "cpu"; 73ea89fdf2SPeter Griffin compatible = "arm,cortex-a55"; 74ea89fdf2SPeter Griffin reg = <0x0000>; 75ea89fdf2SPeter Griffin enable-method = "psci"; 76ea89fdf2SPeter Griffin cpu-idle-states = <&ANANKE_CPU_SLEEP>; 77ea89fdf2SPeter Griffin capacity-dmips-mhz = <250>; 78ea89fdf2SPeter Griffin dynamic-power-coefficient = <70>; 79ea89fdf2SPeter Griffin }; 80ea89fdf2SPeter Griffin 81ea89fdf2SPeter Griffin cpu1: cpu@100 { 82ea89fdf2SPeter Griffin device_type = "cpu"; 83ea89fdf2SPeter Griffin compatible = "arm,cortex-a55"; 84ea89fdf2SPeter Griffin reg = <0x0100>; 85ea89fdf2SPeter Griffin enable-method = "psci"; 86ea89fdf2SPeter Griffin cpu-idle-states = <&ANANKE_CPU_SLEEP>; 87ea89fdf2SPeter Griffin capacity-dmips-mhz = <250>; 88ea89fdf2SPeter Griffin dynamic-power-coefficient = <70>; 89ea89fdf2SPeter Griffin }; 90ea89fdf2SPeter Griffin 91ea89fdf2SPeter Griffin cpu2: cpu@200 { 92ea89fdf2SPeter Griffin device_type = "cpu"; 93ea89fdf2SPeter Griffin compatible = "arm,cortex-a55"; 94ea89fdf2SPeter Griffin reg = <0x0200>; 95ea89fdf2SPeter Griffin enable-method = "psci"; 96ea89fdf2SPeter Griffin cpu-idle-states = <&ANANKE_CPU_SLEEP>; 97ea89fdf2SPeter Griffin capacity-dmips-mhz = <250>; 98ea89fdf2SPeter Griffin dynamic-power-coefficient = <70>; 99ea89fdf2SPeter Griffin }; 100ea89fdf2SPeter Griffin 101ea89fdf2SPeter Griffin cpu3: cpu@300 { 102ea89fdf2SPeter Griffin device_type = "cpu"; 103ea89fdf2SPeter Griffin compatible = "arm,cortex-a55"; 104ea89fdf2SPeter Griffin reg = <0x0300>; 105ea89fdf2SPeter Griffin enable-method = "psci"; 106ea89fdf2SPeter Griffin cpu-idle-states = <&ANANKE_CPU_SLEEP>; 107ea89fdf2SPeter Griffin capacity-dmips-mhz = <250>; 108ea89fdf2SPeter Griffin dynamic-power-coefficient = <70>; 109ea89fdf2SPeter Griffin }; 110ea89fdf2SPeter Griffin 111ea89fdf2SPeter Griffin cpu4: cpu@400 { 112ea89fdf2SPeter Griffin device_type = "cpu"; 113ea89fdf2SPeter Griffin compatible = "arm,cortex-a76"; 114ea89fdf2SPeter Griffin reg = <0x0400>; 115ea89fdf2SPeter Griffin enable-method = "psci"; 116ea89fdf2SPeter Griffin cpu-idle-states = <&ENYO_CPU_SLEEP>; 117ea89fdf2SPeter Griffin capacity-dmips-mhz = <620>; 118ea89fdf2SPeter Griffin dynamic-power-coefficient = <284>; 119ea89fdf2SPeter Griffin }; 120ea89fdf2SPeter Griffin 121ea89fdf2SPeter Griffin cpu5: cpu@500 { 122ea89fdf2SPeter Griffin device_type = "cpu"; 123ea89fdf2SPeter Griffin compatible = "arm,cortex-a76"; 124ea89fdf2SPeter Griffin reg = <0x0500>; 125ea89fdf2SPeter Griffin enable-method = "psci"; 126ea89fdf2SPeter Griffin cpu-idle-states = <&ENYO_CPU_SLEEP>; 127ea89fdf2SPeter Griffin capacity-dmips-mhz = <620>; 128ea89fdf2SPeter Griffin dynamic-power-coefficient = <284>; 129ea89fdf2SPeter Griffin }; 130ea89fdf2SPeter Griffin 131ea89fdf2SPeter Griffin cpu6: cpu@600 { 132ea89fdf2SPeter Griffin device_type = "cpu"; 133ea89fdf2SPeter Griffin compatible = "arm,cortex-x1"; 134ea89fdf2SPeter Griffin reg = <0x0600>; 135ea89fdf2SPeter Griffin enable-method = "psci"; 136ea89fdf2SPeter Griffin cpu-idle-states = <&HERA_CPU_SLEEP>; 137ea89fdf2SPeter Griffin capacity-dmips-mhz = <1024>; 138ea89fdf2SPeter Griffin dynamic-power-coefficient = <650>; 139ea89fdf2SPeter Griffin }; 140ea89fdf2SPeter Griffin 141ea89fdf2SPeter Griffin cpu7: cpu@700 { 142ea89fdf2SPeter Griffin device_type = "cpu"; 143ea89fdf2SPeter Griffin compatible = "arm,cortex-x1"; 144ea89fdf2SPeter Griffin reg = <0x0700>; 145ea89fdf2SPeter Griffin enable-method = "psci"; 146ea89fdf2SPeter Griffin cpu-idle-states = <&HERA_CPU_SLEEP>; 147ea89fdf2SPeter Griffin capacity-dmips-mhz = <1024>; 148ea89fdf2SPeter Griffin dynamic-power-coefficient = <650>; 149ea89fdf2SPeter Griffin }; 150ea89fdf2SPeter Griffin 151ea89fdf2SPeter Griffin idle-states { 152ea89fdf2SPeter Griffin entry-method = "psci"; 153ea89fdf2SPeter Griffin 154ea89fdf2SPeter Griffin ANANKE_CPU_SLEEP: cpu-ananke-sleep { 155ea89fdf2SPeter Griffin idle-state-name = "c2"; 156ea89fdf2SPeter Griffin compatible = "arm,idle-state"; 157ea89fdf2SPeter Griffin arm,psci-suspend-param = <0x0010000>; 158ea89fdf2SPeter Griffin entry-latency-us = <70>; 159ea89fdf2SPeter Griffin exit-latency-us = <160>; 160ea89fdf2SPeter Griffin min-residency-us = <2000>; 161ea89fdf2SPeter Griffin }; 162ea89fdf2SPeter Griffin 163ea89fdf2SPeter Griffin ENYO_CPU_SLEEP: cpu-enyo-sleep { 164ea89fdf2SPeter Griffin idle-state-name = "c2"; 165ea89fdf2SPeter Griffin compatible = "arm,idle-state"; 166ea89fdf2SPeter Griffin arm,psci-suspend-param = <0x0010000>; 167ea89fdf2SPeter Griffin entry-latency-us = <150>; 168ea89fdf2SPeter Griffin exit-latency-us = <190>; 169ea89fdf2SPeter Griffin min-residency-us = <2500>; 170ea89fdf2SPeter Griffin }; 171ea89fdf2SPeter Griffin 172ea89fdf2SPeter Griffin HERA_CPU_SLEEP: cpu-hera-sleep { 173ea89fdf2SPeter Griffin idle-state-name = "c2"; 174ea89fdf2SPeter Griffin compatible = "arm,idle-state"; 175ea89fdf2SPeter Griffin arm,psci-suspend-param = <0x0010000>; 176ea89fdf2SPeter Griffin entry-latency-us = <235>; 177ea89fdf2SPeter Griffin exit-latency-us = <220>; 178ea89fdf2SPeter Griffin min-residency-us = <3500>; 179ea89fdf2SPeter Griffin }; 180ea89fdf2SPeter Griffin }; 181ea89fdf2SPeter Griffin }; 182ea89fdf2SPeter Griffin 183ea89fdf2SPeter Griffin /* ect node is required to be present by bootloader */ 184ea89fdf2SPeter Griffin ect { 185ea89fdf2SPeter Griffin }; 186ea89fdf2SPeter Griffin 187ea89fdf2SPeter Griffin ext_24_5m: clock-1 { 188ea89fdf2SPeter Griffin compatible = "fixed-clock"; 189ea89fdf2SPeter Griffin #clock-cells = <0>; 190ea89fdf2SPeter Griffin clock-output-names = "oscclk"; 191ea89fdf2SPeter Griffin }; 192ea89fdf2SPeter Griffin 193ea89fdf2SPeter Griffin ext_200m: clock-2 { 194ea89fdf2SPeter Griffin compatible = "fixed-clock"; 195ea89fdf2SPeter Griffin #clock-cells = <0>; 196ea89fdf2SPeter Griffin clock-output-names = "ext-200m"; 197ea89fdf2SPeter Griffin }; 198ea89fdf2SPeter Griffin 199ea89fdf2SPeter Griffin pmu-0 { 200ea89fdf2SPeter Griffin compatible = "arm,cortex-a55-pmu"; 201ea89fdf2SPeter Griffin interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster0>; 202ea89fdf2SPeter Griffin }; 203ea89fdf2SPeter Griffin 204ea89fdf2SPeter Griffin pmu-1 { 205ea89fdf2SPeter Griffin compatible = "arm,cortex-a76-pmu"; 206ea89fdf2SPeter Griffin interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster1>; 207ea89fdf2SPeter Griffin }; 208ea89fdf2SPeter Griffin 209ea89fdf2SPeter Griffin pmu-2 { 210ea89fdf2SPeter Griffin compatible = "arm,cortex-x1-pmu"; 211ea89fdf2SPeter Griffin interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster2>; 212ea89fdf2SPeter Griffin }; 213ea89fdf2SPeter Griffin 214ea89fdf2SPeter Griffin pmu-3 { 215ea89fdf2SPeter Griffin compatible = "arm,dsu-pmu"; 216ea89fdf2SPeter Griffin interrupts = <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH 0>; 217ea89fdf2SPeter Griffin cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, 218ea89fdf2SPeter Griffin <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; 219ea89fdf2SPeter Griffin }; 220ea89fdf2SPeter Griffin 221ea89fdf2SPeter Griffin psci { 222ea89fdf2SPeter Griffin compatible = "arm,psci-1.0"; 223ea89fdf2SPeter Griffin method = "smc"; 224ea89fdf2SPeter Griffin }; 225ea89fdf2SPeter Griffin 226ea89fdf2SPeter Griffin reserved_memory: reserved-memory { 227ea89fdf2SPeter Griffin #address-cells = <2>; 228ea89fdf2SPeter Griffin #size-cells = <1>; 229ea89fdf2SPeter Griffin ranges; 230ea89fdf2SPeter Griffin 231ea89fdf2SPeter Griffin gsa_reserved_protected: gsa@90200000 { 232ea89fdf2SPeter Griffin reg = <0x0 0x90200000 0x400000>; 233ea89fdf2SPeter Griffin no-map; 234ea89fdf2SPeter Griffin }; 235ea89fdf2SPeter Griffin 236ea89fdf2SPeter Griffin tpu_fw_reserved: tpu-fw@93000000 { 237ea89fdf2SPeter Griffin reg = <0x0 0x93000000 0x1000000>; 238ea89fdf2SPeter Griffin no-map; 239ea89fdf2SPeter Griffin }; 240ea89fdf2SPeter Griffin 241ea89fdf2SPeter Griffin aoc_reserve: aoc@94000000 { 242ea89fdf2SPeter Griffin reg = <0x0 0x94000000 0x03000000>; 243ea89fdf2SPeter Griffin no-map; 244ea89fdf2SPeter Griffin }; 245ea89fdf2SPeter Griffin 246ea89fdf2SPeter Griffin abl_reserved: abl@f8800000 { 247ea89fdf2SPeter Griffin reg = <0x0 0xf8800000 0x02000000>; 248ea89fdf2SPeter Griffin no-map; 249ea89fdf2SPeter Griffin }; 250ea89fdf2SPeter Griffin 251ea89fdf2SPeter Griffin dss_log_reserved: dss-log-reserved@fd3f0000 { 252ea89fdf2SPeter Griffin reg = <0x0 0xfd3f0000 0x0000e000>; 253ea89fdf2SPeter Griffin no-map; 254ea89fdf2SPeter Griffin }; 255ea89fdf2SPeter Griffin 256ea89fdf2SPeter Griffin debug_kinfo_reserved: debug-kinfo-reserved@fd3fe000 { 257ea89fdf2SPeter Griffin reg = <0x0 0xfd3fe000 0x00001000>; 258ea89fdf2SPeter Griffin no-map; 259ea89fdf2SPeter Griffin }; 260ea89fdf2SPeter Griffin 261ea89fdf2SPeter Griffin bldr_log_reserved: bldr-log-reserved@fd800000 { 262ea89fdf2SPeter Griffin reg = <0x0 0xfd800000 0x00100000>; 263ea89fdf2SPeter Griffin no-map; 264ea89fdf2SPeter Griffin }; 265ea89fdf2SPeter Griffin 266ea89fdf2SPeter Griffin bldr_log_hist_reserved: bldr-log-hist-reserved@fd900000 { 267ea89fdf2SPeter Griffin reg = <0x0 0xfd900000 0x00002000>; 268ea89fdf2SPeter Griffin no-map; 269ea89fdf2SPeter Griffin }; 270ea89fdf2SPeter Griffin }; 271ea89fdf2SPeter Griffin 272ea89fdf2SPeter Griffin soc: soc@0 { 273ea89fdf2SPeter Griffin compatible = "simple-bus"; 274ea89fdf2SPeter Griffin #address-cells = <1>; 275ea89fdf2SPeter Griffin #size-cells = <1>; 276ea89fdf2SPeter Griffin ranges = <0x0 0x0 0x0 0x40000000>; 277ea89fdf2SPeter Griffin 278ea89fdf2SPeter Griffin cmu_misc: clock-controller@10010000 { 279ea89fdf2SPeter Griffin compatible = "google,gs101-cmu-misc"; 280ea89fdf2SPeter Griffin reg = <0x10010000 0x8000>; 281ea89fdf2SPeter Griffin #clock-cells = <1>; 282ea89fdf2SPeter Griffin clocks = <&cmu_top CLK_DOUT_CMU_MISC_BUS>, 283ea89fdf2SPeter Griffin <&cmu_top CLK_DOUT_CMU_MISC_SSS>; 284ea89fdf2SPeter Griffin clock-names = "dout_cmu_misc_bus", "dout_cmu_misc_sss"; 285ea89fdf2SPeter Griffin }; 286ea89fdf2SPeter Griffin 287927b46b5SPeter Griffin timer@10050000 { 288927b46b5SPeter Griffin compatible = "google,gs101-mct", 289927b46b5SPeter Griffin "samsung,exynos4210-mct"; 290927b46b5SPeter Griffin reg = <0x10050000 0x800>; 291927b46b5SPeter Griffin interrupts = <GIC_SPI 753 IRQ_TYPE_LEVEL_HIGH 0>, 292927b46b5SPeter Griffin <GIC_SPI 754 IRQ_TYPE_LEVEL_HIGH 0>, 293927b46b5SPeter Griffin <GIC_SPI 755 IRQ_TYPE_LEVEL_HIGH 0>, 294927b46b5SPeter Griffin <GIC_SPI 756 IRQ_TYPE_LEVEL_HIGH 0>, 295927b46b5SPeter Griffin <GIC_SPI 757 IRQ_TYPE_LEVEL_HIGH 0>, 296927b46b5SPeter Griffin <GIC_SPI 758 IRQ_TYPE_LEVEL_HIGH 0>, 297927b46b5SPeter Griffin <GIC_SPI 759 IRQ_TYPE_LEVEL_HIGH 0>, 298927b46b5SPeter Griffin <GIC_SPI 760 IRQ_TYPE_LEVEL_HIGH 0>, 299927b46b5SPeter Griffin <GIC_SPI 761 IRQ_TYPE_LEVEL_HIGH 0>, 300927b46b5SPeter Griffin <GIC_SPI 762 IRQ_TYPE_LEVEL_HIGH 0>, 301927b46b5SPeter Griffin <GIC_SPI 763 IRQ_TYPE_LEVEL_HIGH 0>, 302927b46b5SPeter Griffin <GIC_SPI 764 IRQ_TYPE_LEVEL_HIGH 0>; 303927b46b5SPeter Griffin clocks = <&ext_24_5m>, <&cmu_misc CLK_GOUT_MISC_MCT_PCLK>; 304927b46b5SPeter Griffin clock-names = "fin_pll", "mct"; 305927b46b5SPeter Griffin }; 306927b46b5SPeter Griffin 307ea89fdf2SPeter Griffin watchdog_cl0: watchdog@10060000 { 308ea89fdf2SPeter Griffin compatible = "google,gs101-wdt"; 309ea89fdf2SPeter Griffin reg = <0x10060000 0x100>; 310ea89fdf2SPeter Griffin interrupts = <GIC_SPI 765 IRQ_TYPE_LEVEL_HIGH 0>; 311ea89fdf2SPeter Griffin clocks = <&cmu_misc CLK_GOUT_MISC_WDT_CLUSTER0_PCLK>, 312ea89fdf2SPeter Griffin <&ext_24_5m>; 313ea89fdf2SPeter Griffin clock-names = "watchdog", "watchdog_src"; 314ea89fdf2SPeter Griffin samsung,syscon-phandle = <&pmu_system_controller>; 315ea89fdf2SPeter Griffin samsung,cluster-index = <0>; 316ea89fdf2SPeter Griffin status = "disabled"; 317ea89fdf2SPeter Griffin }; 318ea89fdf2SPeter Griffin 319ea89fdf2SPeter Griffin watchdog_cl1: watchdog@10070000 { 320ea89fdf2SPeter Griffin compatible = "google,gs101-wdt"; 321ea89fdf2SPeter Griffin reg = <0x10070000 0x100>; 322ea89fdf2SPeter Griffin interrupts = <GIC_SPI 766 IRQ_TYPE_LEVEL_HIGH 0>; 323ea89fdf2SPeter Griffin clocks = <&cmu_misc CLK_GOUT_MISC_WDT_CLUSTER1_PCLK>, 324ea89fdf2SPeter Griffin <&ext_24_5m>; 325ea89fdf2SPeter Griffin clock-names = "watchdog", "watchdog_src"; 326ea89fdf2SPeter Griffin samsung,syscon-phandle = <&pmu_system_controller>; 327ea89fdf2SPeter Griffin samsung,cluster-index = <1>; 328ea89fdf2SPeter Griffin status = "disabled"; 329ea89fdf2SPeter Griffin }; 330ea89fdf2SPeter Griffin 331ea89fdf2SPeter Griffin gic: interrupt-controller@10400000 { 332ea89fdf2SPeter Griffin compatible = "arm,gic-v3"; 333ea89fdf2SPeter Griffin #interrupt-cells = <4>; 334ea89fdf2SPeter Griffin interrupt-controller; 335ea89fdf2SPeter Griffin reg = <0x10400000 0x10000>, /* GICD */ 336ea89fdf2SPeter Griffin <0x10440000 0x100000>;/* GICR * 8 */ 337ea89fdf2SPeter Griffin interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 338ea89fdf2SPeter Griffin 339ea89fdf2SPeter Griffin ppi-partitions { 340ea89fdf2SPeter Griffin ppi_cluster0: interrupt-partition-0 { 341ea89fdf2SPeter Griffin affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; 342ea89fdf2SPeter Griffin }; 343ea89fdf2SPeter Griffin 344ea89fdf2SPeter Griffin ppi_cluster1: interrupt-partition-1 { 345ea89fdf2SPeter Griffin affinity = <&cpu4 &cpu5>; 346ea89fdf2SPeter Griffin }; 347ea89fdf2SPeter Griffin 348ea89fdf2SPeter Griffin ppi_cluster2: interrupt-partition-2 { 349ea89fdf2SPeter Griffin affinity = <&cpu6 &cpu7>; 350ea89fdf2SPeter Griffin }; 351ea89fdf2SPeter Griffin }; 352ea89fdf2SPeter Griffin }; 353ea89fdf2SPeter Griffin 354e62c706fSTudor Ambarus cmu_peric0: clock-controller@10800000 { 355e62c706fSTudor Ambarus compatible = "google,gs101-cmu-peric0"; 356e62c706fSTudor Ambarus reg = <0x10800000 0x4000>; 357e62c706fSTudor Ambarus #clock-cells = <1>; 358e62c706fSTudor Ambarus clocks = <&ext_24_5m>, 359e62c706fSTudor Ambarus <&cmu_top CLK_DOUT_CMU_PERIC0_BUS>, 360e62c706fSTudor Ambarus <&cmu_top CLK_DOUT_CMU_PERIC0_IP>; 361e62c706fSTudor Ambarus clock-names = "oscclk", "bus", "ip"; 362e62c706fSTudor Ambarus }; 363e62c706fSTudor Ambarus 364ea89fdf2SPeter Griffin sysreg_peric0: syscon@10820000 { 365ea89fdf2SPeter Griffin compatible = "google,gs101-peric0-sysreg", "syscon"; 366ea89fdf2SPeter Griffin reg = <0x10820000 0x10000>; 367*ca487bc2SAndré Draszik clocks = <&cmu_peric0 CLK_GOUT_PERIC0_SYSREG_PERIC0_PCLK>; 368ea89fdf2SPeter Griffin }; 369ea89fdf2SPeter Griffin 370ea89fdf2SPeter Griffin pinctrl_peric0: pinctrl@10840000 { 371ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 372ea89fdf2SPeter Griffin reg = <0x10840000 0x00001000>; 373ea89fdf2SPeter Griffin interrupts = <GIC_SPI 625 IRQ_TYPE_LEVEL_HIGH 0>; 374ea89fdf2SPeter Griffin }; 375ea89fdf2SPeter Griffin 3766d44d1a1STudor Ambarus usi8: usi@109700c0 { 3776d44d1a1STudor Ambarus compatible = "google,gs101-usi", 3786d44d1a1STudor Ambarus "samsung,exynos850-usi"; 3796d44d1a1STudor Ambarus reg = <0x109700c0 0x20>; 3806d44d1a1STudor Ambarus ranges; 3816d44d1a1STudor Ambarus #address-cells = <1>; 3826d44d1a1STudor Ambarus #size-cells = <1>; 3836d44d1a1STudor Ambarus clocks = <&cmu_peric0 CLK_GOUT_PERIC0_CLK_PERIC0_USI8_USI_CLK>, 3846d44d1a1STudor Ambarus <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP0_IPCLK_7>; 3856d44d1a1STudor Ambarus clock-names = "pclk", "ipclk"; 3866d44d1a1STudor Ambarus samsung,sysreg = <&sysreg_peric0 0x101c>; 3876d44d1a1STudor Ambarus status = "disabled"; 3886d44d1a1STudor Ambarus 3896d44d1a1STudor Ambarus hsi2c_8: i2c@10970000 { 3906d44d1a1STudor Ambarus compatible = "google,gs101-hsi2c", 3916d44d1a1STudor Ambarus "samsung,exynosautov9-hsi2c"; 3926d44d1a1STudor Ambarus reg = <0x10970000 0xc0>; 3936d44d1a1STudor Ambarus interrupts = <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH 0>; 3946d44d1a1STudor Ambarus #address-cells = <1>; 3956d44d1a1STudor Ambarus #size-cells = <0>; 3966d44d1a1STudor Ambarus pinctrl-names = "default"; 3976d44d1a1STudor Ambarus pinctrl-0 = <&hsi2c8_bus>; 3986d44d1a1STudor Ambarus clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP0_IPCLK_7>, 3996d44d1a1STudor Ambarus <&cmu_peric0 CLK_GOUT_PERIC0_CLK_PERIC0_USI8_USI_CLK>; 4006d44d1a1STudor Ambarus clock-names = "hsi2c", "hsi2c_pclk"; 4016d44d1a1STudor Ambarus status = "disabled"; 4026d44d1a1STudor Ambarus }; 4036d44d1a1STudor Ambarus }; 4046d44d1a1STudor Ambarus 405ea89fdf2SPeter Griffin usi_uart: usi@10a000c0 { 406ea89fdf2SPeter Griffin compatible = "google,gs101-usi", 407ea89fdf2SPeter Griffin "samsung,exynos850-usi"; 408ea89fdf2SPeter Griffin reg = <0x10a000c0 0x20>; 409ea89fdf2SPeter Griffin ranges; 410ea89fdf2SPeter Griffin #address-cells = <1>; 411ea89fdf2SPeter Griffin #size-cells = <1>; 412d97b6c90STudor Ambarus clocks = <&cmu_peric0 CLK_GOUT_PERIC0_CLK_PERIC0_USI0_UART_CLK>, 413d97b6c90STudor Ambarus <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP1_IPCLK_0>; 414ea89fdf2SPeter Griffin clock-names = "pclk", "ipclk"; 415ea89fdf2SPeter Griffin samsung,sysreg = <&sysreg_peric0 0x1020>; 416ea89fdf2SPeter Griffin samsung,mode = <USI_V2_UART>; 417ea89fdf2SPeter Griffin status = "disabled"; 418ea89fdf2SPeter Griffin 419ea89fdf2SPeter Griffin serial_0: serial@10a00000 { 420ea89fdf2SPeter Griffin compatible = "google,gs101-uart"; 421ea89fdf2SPeter Griffin reg = <0x10a00000 0xc0>; 422ea89fdf2SPeter Griffin interrupts = <GIC_SPI 634 423ea89fdf2SPeter Griffin IRQ_TYPE_LEVEL_HIGH 0>; 424d97b6c90STudor Ambarus clocks = <&cmu_peric0 CLK_GOUT_PERIC0_CLK_PERIC0_USI0_UART_CLK>, 425d97b6c90STudor Ambarus <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP1_IPCLK_0>; 426ea89fdf2SPeter Griffin clock-names = "uart", "clk_uart_baud0"; 427ea89fdf2SPeter Griffin samsung,uart-fifosize = <256>; 428ea89fdf2SPeter Griffin status = "disabled"; 429ea89fdf2SPeter Griffin }; 430ea89fdf2SPeter Griffin }; 431ea89fdf2SPeter Griffin 432ea89fdf2SPeter Griffin sysreg_peric1: syscon@10c20000 { 433ea89fdf2SPeter Griffin compatible = "google,gs101-peric1-sysreg", "syscon"; 434ea89fdf2SPeter Griffin reg = <0x10c20000 0x10000>; 435ea89fdf2SPeter Griffin }; 436ea89fdf2SPeter Griffin 437ea89fdf2SPeter Griffin pinctrl_peric1: pinctrl@10c40000 { 438ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 439ea89fdf2SPeter Griffin reg = <0x10c40000 0x00001000>; 440ea89fdf2SPeter Griffin interrupts = <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH 0>; 441ea89fdf2SPeter Griffin }; 442ea89fdf2SPeter Griffin 443ea89fdf2SPeter Griffin pinctrl_hsi1: pinctrl@11840000 { 444ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 445ea89fdf2SPeter Griffin reg = <0x11840000 0x00001000>; 446ea89fdf2SPeter Griffin interrupts = <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH 0>; 447ea89fdf2SPeter Griffin }; 448ea89fdf2SPeter Griffin 449ea89fdf2SPeter Griffin pinctrl_hsi2: pinctrl@14440000 { 450ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 451ea89fdf2SPeter Griffin reg = <0x14440000 0x00001000>; 452ea89fdf2SPeter Griffin interrupts = <GIC_SPI 503 IRQ_TYPE_LEVEL_HIGH 0>; 453ea89fdf2SPeter Griffin }; 454ea89fdf2SPeter Griffin 455ea89fdf2SPeter Griffin cmu_apm: clock-controller@17400000 { 456ea89fdf2SPeter Griffin compatible = "google,gs101-cmu-apm"; 457ea89fdf2SPeter Griffin reg = <0x17400000 0x8000>; 458ea89fdf2SPeter Griffin #clock-cells = <1>; 459ea89fdf2SPeter Griffin 460ea89fdf2SPeter Griffin clocks = <&ext_24_5m>; 461ea89fdf2SPeter Griffin clock-names = "oscclk"; 462ea89fdf2SPeter Griffin }; 463ea89fdf2SPeter Griffin 464ea89fdf2SPeter Griffin sysreg_apm: syscon@174204e0 { 465ea89fdf2SPeter Griffin compatible = "google,gs101-apm-sysreg", "syscon"; 466ea89fdf2SPeter Griffin reg = <0x174204e0 0x1000>; 467ea89fdf2SPeter Griffin }; 468ea89fdf2SPeter Griffin 469ea89fdf2SPeter Griffin pmu_system_controller: system-controller@17460000 { 470ea89fdf2SPeter Griffin compatible = "google,gs101-pmu", "syscon"; 471ea89fdf2SPeter Griffin reg = <0x17460000 0x10000>; 472ea89fdf2SPeter Griffin }; 473ea89fdf2SPeter Griffin 474ea89fdf2SPeter Griffin pinctrl_gpio_alive: pinctrl@174d0000 { 475ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 476ea89fdf2SPeter Griffin reg = <0x174d0000 0x00001000>; 477ea89fdf2SPeter Griffin 478ea89fdf2SPeter Griffin wakeup-interrupt-controller { 479ea89fdf2SPeter Griffin compatible = "google,gs101-wakeup-eint", 480ea89fdf2SPeter Griffin "samsung,exynos850-wakeup-eint", 481ea89fdf2SPeter Griffin "samsung,exynos7-wakeup-eint"; 482ea89fdf2SPeter Griffin }; 483ea89fdf2SPeter Griffin }; 484ea89fdf2SPeter Griffin 485ea89fdf2SPeter Griffin pinctrl_far_alive: pinctrl@174e0000 { 486ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 487ea89fdf2SPeter Griffin reg = <0x174e0000 0x00001000>; 488ea89fdf2SPeter Griffin 489ea89fdf2SPeter Griffin wakeup-interrupt-controller { 490ea89fdf2SPeter Griffin compatible = "google,gs101-wakeup-eint", 491ea89fdf2SPeter Griffin "samsung,exynos850-wakeup-eint", 492ea89fdf2SPeter Griffin "samsung,exynos7-wakeup-eint"; 493ea89fdf2SPeter Griffin }; 494ea89fdf2SPeter Griffin }; 495ea89fdf2SPeter Griffin 496ea89fdf2SPeter Griffin pinctrl_gsactrl: pinctrl@17940000 { 497ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 498ea89fdf2SPeter Griffin reg = <0x17940000 0x00001000>; 499ea89fdf2SPeter Griffin }; 500ea89fdf2SPeter Griffin 501ea89fdf2SPeter Griffin pinctrl_gsacore: pinctrl@17a80000 { 502ea89fdf2SPeter Griffin compatible = "google,gs101-pinctrl"; 503ea89fdf2SPeter Griffin reg = <0x17a80000 0x00001000>; 504ea89fdf2SPeter Griffin }; 505ea89fdf2SPeter Griffin 506ea89fdf2SPeter Griffin cmu_top: clock-controller@1e080000 { 507ea89fdf2SPeter Griffin compatible = "google,gs101-cmu-top"; 508ea89fdf2SPeter Griffin reg = <0x1e080000 0x8000>; 509ea89fdf2SPeter Griffin #clock-cells = <1>; 510ea89fdf2SPeter Griffin 511ea89fdf2SPeter Griffin clocks = <&ext_24_5m>; 512ea89fdf2SPeter Griffin clock-names = "oscclk"; 513ea89fdf2SPeter Griffin }; 514ea89fdf2SPeter Griffin }; 515ea89fdf2SPeter Griffin 516ea89fdf2SPeter Griffin timer { 517ea89fdf2SPeter Griffin compatible = "arm,armv8-timer"; 518ea89fdf2SPeter Griffin interrupts = 519ea89fdf2SPeter Griffin <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>, 520ea89fdf2SPeter Griffin <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>, 521ea89fdf2SPeter Griffin <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>, 522ea89fdf2SPeter Griffin <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>; 523ea89fdf2SPeter Griffin }; 524ea89fdf2SPeter Griffin}; 525ea89fdf2SPeter Griffin 526ea89fdf2SPeter Griffin#include "gs101-pinctrl.dtsi" 527