You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

364 lines
7.3 KiB
Plaintext

/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,falcon";
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
compatible = "mips,mips34kc";
reg = <0>;
};
};
aliases {
serial0 = &serial0;
serial1 = &serial1;
gpio0 = &gpio0;
gpio1 = &gpio1;
gpio2 = &gpio2;
gpio3 = &gpio3;
gpio4 = &gpio4;
};
chosen {
stdout-path = "serial0:115200n8";
};
ebu_cs0: localbus@10000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,localbus", "simple-bus";
reg = <0x10000000 0x4000000>;
ranges = <0x0 0x10000000 0x4000000>;
};
ebu_cs1: localbus@14000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,localbus", "simple-bus";
reg = <0x14000000 0x4000000>;
ranges = <0x0 0x14000000 0x4000000>;
};
ebu@18000000 {
compatible = "lantiq,ebu-falcon";
reg = <0x18000000 0x100>;
};
sbs2@1d000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,sysb2", "simple-bus";
reg = <0x1d000000 0x1000000>;
ranges = <0x0 0x1d000000 0x1000000>;
clock_sysgpe: clock-controller@700000 {
compatible = "lantiq,sysgpe-falcon";
reg = <0x700000 0x100>;
#clock-cells = <1>;
};
mps@4000 {
compatible = "lantiq,mps-falcon", "lantiq,mps-xrx100";
reg = <0x4000 0x1000>;
interrupt-parent = <&icu0>;
interrupts = <154 155>;
lantiq,mbx = <&mpsmbx>;
};
gpio0: gpio@810000 {
compatible = "lantiq,falcon-gpio";
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&icu0>;
interrupts = <44>;
reg = <0x810000 0x80>;
clocks = <&clock_syseth 16>;
};
gpio2: gpio@810100 {
compatible = "lantiq,falcon-gpio";
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&icu0>;
interrupts = <46>;
reg = <0x810100 0x80>;
clocks = <&clock_syseth 17>;
};
clock_syseth: clock-controller@b00000 {
compatible = "lantiq,syseth-falcon";
reg = <0xb00000 0x100>;
#clock-cells = <1>;
};
pad@b01000 {
compatible = "lantiq,pad-falcon";
reg = <0xb01000 0x100>;
lantiq,bank = <0>;
clocks = <&clock_syseth 20>;
};
pad@b02000 {
compatible = "lantiq,pad-falcon";
reg = <0xb02000 0x100>;
lantiq,bank = <2>;
clocks = <&clock_syseth 21>;
};
};
fpi@1e000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,fpi", "simple-bus";
reg = <0x1e000000 0x1000000>;
ranges = <0x0 0x1e000000 0x1000000>;
serial1: serial@100b00 {
status = "disabled";
compatible = "lantiq,asc";
reg = <0x100b00 0x100>;
interrupt-parent = <&icu0>;
interrupts = <112 113 114>;
line = <1>;
pinctrl-names = "default";
pinctrl-0 = <&asc1_pins>;
clocks = <&clock_sys1 11>;
};
serial0: serial@100c00 {
compatible = "lantiq,asc";
reg = <0x100c00 0x100>;
interrupt-parent = <&icu0>;
interrupts = <104 105 106>;
line = <0>;
pinctrl-names = "default";
pinctrl-0 = <&asc0_pins>;
clocks = <&clock_sys1 12>;
};
spi: spi@100d00 {
status = "disabled";
compatible = "lantiq,falcon-spi", "lantiq,xrx100-spi", "lantiq,spi-lantiq-ssc";
interrupts = <22 23 24 25>;
interrupt-names = "spi_tx", "spi_rx", "spi_err", "spi_frm";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x100d00 0x100>;
interrupt-parent = <&icu0>;
clocks = <&clock_sys1 13>;
base_cs = <1>;
num_cs = <2>;
};
gptc@100e00 {
compatible = "lantiq,gptc-falcon";
reg = <0x100e00 0x100>;
};
i2c: i2c@200000 {
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
compatible = "lantiq,lantiq-i2c";
reg = <0x200000 0x10000>;
interrupt-parent = <&icu0>;
interrupts = <18 19 20 21>;
gpios = <&gpio1 7 0 &gpio1 8 0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c_pins>;
clocks = <&clock_sys1 14>;
};
gpio1: gpio@800100 {
compatible = "lantiq,falcon-gpio";
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&icu0>;
interrupts = <45>;
reg = <0x800100 0x100>;
clocks = <&clock_sys1 16>;
};
gpio3: gpio@800200 {
compatible = "lantiq,falcon-gpio";
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&icu0>;
interrupts = <47>;
reg = <0x800200 0x100>;
clocks = <&clock_sys1 17>;
};
gpio4: gpio@800300 {
compatible = "lantiq,falcon-gpio";
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&icu0>;
interrupts = <48>;
reg = <0x800300 0x100>;
clocks = <&clock_sys1 18>;
};
pad@800400 {
compatible = "lantiq,pad-falcon";
reg = <0x800400 0x100>;
lantiq,bank = <1>;
clocks = <&clock_sys1 20>;
};
pad@800500 {
compatible = "lantiq,pad-falcon";
reg = <0x800500 0x100>;
lantiq,bank = <3>;
clocks = <&clock_sys1 21>;
};
pad@800600 {
compatible = "lantiq,pad-falcon";
reg = <0x800600 0x100>;
lantiq,bank = <4>;
clocks = <&clock_sys1 22>;
};
status@802000 {
compatible = "lantiq,status-falcon";
reg = <0x802000 0x80>;
};
clock_sys1: clock-controller@f00000 {
compatible = "lantiq,sys1-falcon";
reg = <0xf00000 0x100>;
#clock-cells = <1>;
};
};
sbs0@1f000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
reg = <0x1f000000 0x400000>;
ranges = <0x0 0x1f000000 0x400000>;
mpsmbx: mpsmbx@200000 {
reg = <0x200000 0x200>;
};
};
biu@1f800000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,biu", "simple-bus";
reg = <0x1f800000 0x800000>;
ranges = <0x0 0x1f800000 0x800000>;
icu0: icu@80200 {
#interrupt-cells = <1>;
interrupt-controller;
compatible = "lantiq,icu";
/* TODO: Number of ICUs isn't known */
reg = <0x80200 0xc8>;
};
watchdog@803f0 {
compatible = "lantiq,wdt";
reg = <0x803f0 0x10>;
};
};
pinctrl {
compatible = "lantiq,pinctrl-falcon";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinctrl0 {
/*ntr {
lantiq,groups = "ntr8k";
lantiq,function = "ntr";
};*/
hrst {
lantiq,groups = "hrst";
lantiq,function = "rst";
};
};
asc0_pins: asc0 {
asc0 {
lantiq,groups = "asc0";
lantiq,function = "asc";
};
};
asc1_pins: asc1 {
asc1 {
lantiq,groups = "asc1";
lantiq,function = "asc";
};
};
i2c_pins: i2c_pins {
i2c_pins {
lantiq,groups = "i2c";
lantiq,function = "i2c";
};
};
bootled_pins: bootled {
bootled {
lantiq,groups = "bootled";
lantiq,function = "led";
};
};
ntr_ntr8k: ntr8k {
ntr8k {
lantiq,groups = "ntr8k";
lantiq,function = "ntr";
};
};
ntr_pps: pps {
pps {
lantiq,groups = "pps";
lantiq,function = "ntr";
};
};
ntr_gpio: gpio {
gpio {
lantiq,pins = "io5";
lantiq,mux = <1>;
lantiq,output = <0>;
};
};
slic_pins: slic {
slic {
lantiq,groups = "slic";
lantiq,function = "slic";
};
};
};
pinselect-ntr {
compatible = "lantiq,onu-ntr","lantiq,pinselect-ntr";
pinctrl-names = "ntr8k", "pps", "gpio";
pinctrl-0 = <&ntr_ntr8k>;
pinctrl-1 = <&ntr_pps>;
pinctrl-2 = <&ntr_gpio>;
};
pinselect-asc1 {
compatible = "lantiq,onu-asc1","lantiq,pinselect-asc1";
pinctrl-names = "default", "asc1";
pinctrl-0 = <&slic_pins>;
pinctrl-1 = <&asc1_pins>;
};
};