1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*c66ec88fSEmmanuel Vadot/dts-v1/; 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel Vadot/include/ "danube.dtsi" 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadot/ { 7*c66ec88fSEmmanuel Vadot chosen { 8*c66ec88fSEmmanuel Vadot bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; 9*c66ec88fSEmmanuel Vadot }; 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot memory@0 { 12*c66ec88fSEmmanuel Vadot device_type = "memory"; 13*c66ec88fSEmmanuel Vadot reg = <0x0 0x2000000>; 14*c66ec88fSEmmanuel Vadot }; 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot fpi@10000000 { 17*c66ec88fSEmmanuel Vadot #address-cells = <1>; 18*c66ec88fSEmmanuel Vadot #size-cells = <1>; 19*c66ec88fSEmmanuel Vadot localbus@0 { 20*c66ec88fSEmmanuel Vadot #address-cells = <2>; 21*c66ec88fSEmmanuel Vadot #size-cells = <1>; 22*c66ec88fSEmmanuel Vadot ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ 23*c66ec88fSEmmanuel Vadot 1 0 0x4000000 0x4000010>; /* addsel1 */ 24*c66ec88fSEmmanuel Vadot compatible = "lantiq,localbus", "simple-bus"; 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot nor-boot@0 { 27*c66ec88fSEmmanuel Vadot compatible = "lantiq,nor"; 28*c66ec88fSEmmanuel Vadot bank-width = <2>; 29*c66ec88fSEmmanuel Vadot reg = <0 0x0 0x2000000>; 30*c66ec88fSEmmanuel Vadot #address-cells = <1>; 31*c66ec88fSEmmanuel Vadot #size-cells = <1>; 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot partition@0 { 34*c66ec88fSEmmanuel Vadot label = "uboot"; 35*c66ec88fSEmmanuel Vadot reg = <0x00000 0x10000>; /* 64 KB */ 36*c66ec88fSEmmanuel Vadot }; 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot partition@10000 { 39*c66ec88fSEmmanuel Vadot label = "uboot_env"; 40*c66ec88fSEmmanuel Vadot reg = <0x10000 0x10000>; /* 64 KB */ 41*c66ec88fSEmmanuel Vadot }; 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot partition@20000 { 44*c66ec88fSEmmanuel Vadot label = "linux"; 45*c66ec88fSEmmanuel Vadot reg = <0x20000 0x3d0000>; 46*c66ec88fSEmmanuel Vadot }; 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadot partition@400000 { 49*c66ec88fSEmmanuel Vadot label = "rootfs"; 50*c66ec88fSEmmanuel Vadot reg = <0x400000 0x400000>; 51*c66ec88fSEmmanuel Vadot }; 52*c66ec88fSEmmanuel Vadot }; 53*c66ec88fSEmmanuel Vadot }; 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot gpio: pinmux@e100b10 { 56*c66ec88fSEmmanuel Vadot compatible = "lantiq,danube-pinctrl"; 57*c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 58*c66ec88fSEmmanuel Vadot pinctrl-0 = <&state_default>; 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 61*c66ec88fSEmmanuel Vadot gpio-controller; 62*c66ec88fSEmmanuel Vadot reg = <0xe100b10 0xa0>; 63*c66ec88fSEmmanuel Vadot 64*c66ec88fSEmmanuel Vadot state_default: pinmux { 65*c66ec88fSEmmanuel Vadot stp { 66*c66ec88fSEmmanuel Vadot lantiq,groups = "stp"; 67*c66ec88fSEmmanuel Vadot lantiq,function = "stp"; 68*c66ec88fSEmmanuel Vadot }; 69*c66ec88fSEmmanuel Vadot exin { 70*c66ec88fSEmmanuel Vadot lantiq,groups = "exin1"; 71*c66ec88fSEmmanuel Vadot lantiq,function = "exin"; 72*c66ec88fSEmmanuel Vadot }; 73*c66ec88fSEmmanuel Vadot pci { 74*c66ec88fSEmmanuel Vadot lantiq,groups = "gnt1"; 75*c66ec88fSEmmanuel Vadot lantiq,function = "pci"; 76*c66ec88fSEmmanuel Vadot }; 77*c66ec88fSEmmanuel Vadot conf_out { 78*c66ec88fSEmmanuel Vadot lantiq,pins = "io4", "io5", "io6"; /* stp */ 79*c66ec88fSEmmanuel Vadot lantiq,open-drain; 80*c66ec88fSEmmanuel Vadot lantiq,pull = <0>; 81*c66ec88fSEmmanuel Vadot }; 82*c66ec88fSEmmanuel Vadot }; 83*c66ec88fSEmmanuel Vadot }; 84*c66ec88fSEmmanuel Vadot 85*c66ec88fSEmmanuel Vadot etop@e180000 { 86*c66ec88fSEmmanuel Vadot compatible = "lantiq,etop-xway"; 87*c66ec88fSEmmanuel Vadot reg = <0xe180000 0x40000>; 88*c66ec88fSEmmanuel Vadot interrupt-parent = <&icu0>; 89*c66ec88fSEmmanuel Vadot interrupts = <73 78>; 90*c66ec88fSEmmanuel Vadot phy-mode = "rmii"; 91*c66ec88fSEmmanuel Vadot mac-address = [ 00 11 22 33 44 55 ]; 92*c66ec88fSEmmanuel Vadot }; 93*c66ec88fSEmmanuel Vadot 94*c66ec88fSEmmanuel Vadot stp0: stp@e100bb0 { 95*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 96*c66ec88fSEmmanuel Vadot compatible = "lantiq,gpio-stp-xway"; 97*c66ec88fSEmmanuel Vadot gpio-controller; 98*c66ec88fSEmmanuel Vadot reg = <0xe100bb0 0x40>; 99*c66ec88fSEmmanuel Vadot 100*c66ec88fSEmmanuel Vadot lantiq,shadow = <0xfff>; 101*c66ec88fSEmmanuel Vadot lantiq,groups = <0x3>; 102*c66ec88fSEmmanuel Vadot }; 103*c66ec88fSEmmanuel Vadot 104*c66ec88fSEmmanuel Vadot pci@e105400 { 105*c66ec88fSEmmanuel Vadot lantiq,bus-clock = <33333333>; 106*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 107*c66ec88fSEmmanuel Vadot interrupt-map = < 108*c66ec88fSEmmanuel Vadot 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29 109*c66ec88fSEmmanuel Vadot >; 110*c66ec88fSEmmanuel Vadot gpios-reset = <&gpio 21 0>; 111*c66ec88fSEmmanuel Vadot req-mask = <0x1>; /* GNT1 */ 112*c66ec88fSEmmanuel Vadot }; 113*c66ec88fSEmmanuel Vadot 114*c66ec88fSEmmanuel Vadot }; 115*c66ec88fSEmmanuel Vadot}; 116