15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/frequency/adi,adf4350.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Analog Devices ADF4350/ADF4351 wideband synthesizer 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Michael Hennerich <michael.hennerich@analog.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotproperties: 135def4c47SEmmanuel Vadot compatible: 145def4c47SEmmanuel Vadot enum: 155def4c47SEmmanuel Vadot - adi,adf4350 165def4c47SEmmanuel Vadot - adi,adf4351 175def4c47SEmmanuel Vadot 185def4c47SEmmanuel Vadot reg: 195def4c47SEmmanuel Vadot maxItems: 1 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel Vadot spi-max-frequency: 225def4c47SEmmanuel Vadot maximum: 20000000 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadot clocks: 255def4c47SEmmanuel Vadot maxItems: 1 265def4c47SEmmanuel Vadot description: Clock to provide CLKIN reference clock signal. 275def4c47SEmmanuel Vadot 285def4c47SEmmanuel Vadot clock-names: 295def4c47SEmmanuel Vadot const: clkin 305def4c47SEmmanuel Vadot 31*0e8011faSEmmanuel Vadot '#clock-cells': 32*0e8011faSEmmanuel Vadot const: 0 33*0e8011faSEmmanuel Vadot 34*0e8011faSEmmanuel Vadot clock-output-names: 35*0e8011faSEmmanuel Vadot maxItems: 1 36*0e8011faSEmmanuel Vadot 375def4c47SEmmanuel Vadot gpios: 385def4c47SEmmanuel Vadot maxItems: 1 395def4c47SEmmanuel Vadot description: Lock detect GPIO. 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadot adi,channel-spacing: 425def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 435def4c47SEmmanuel Vadot description: 445def4c47SEmmanuel Vadot Channel spacing in Hz (influences MODULUS). 455def4c47SEmmanuel Vadot 465def4c47SEmmanuel Vadot adi,power-up-frequency: 475def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 485def4c47SEmmanuel Vadot description: 495def4c47SEmmanuel Vadot If set the PLL tunes to this frequency (in Hz) on driver probe. 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel Vadot adi,reference-div-factor: 525def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 535def4c47SEmmanuel Vadot description: 545def4c47SEmmanuel Vadot If set the driver skips dynamic calculation and uses this default 555def4c47SEmmanuel Vadot value instead. 565def4c47SEmmanuel Vadot 575def4c47SEmmanuel Vadot adi,reference-doubler-enable: 585def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 595def4c47SEmmanuel Vadot description: Enables reference doubler. 605def4c47SEmmanuel Vadot 615def4c47SEmmanuel Vadot adi,reference-div2-enable: 625def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 635def4c47SEmmanuel Vadot description: Enables reference divider. 645def4c47SEmmanuel Vadot 655def4c47SEmmanuel Vadot adi,phase-detector-polarity-positive-enable: 665def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 675def4c47SEmmanuel Vadot description: Enables positive phase detector polarity. Default negative. 685def4c47SEmmanuel Vadot 695def4c47SEmmanuel Vadot adi,lock-detect-precision-6ns-enable: 705def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 715def4c47SEmmanuel Vadot description: Enables 6ns lock detect precision. Default = 10ns. 725def4c47SEmmanuel Vadot 735def4c47SEmmanuel Vadot adi,lock-detect-function-integer-n-enable: 745def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 755def4c47SEmmanuel Vadot description: 765def4c47SEmmanuel Vadot Enables lock detect for integer-N mode. Default = factional-N mode. 775def4c47SEmmanuel Vadot 785def4c47SEmmanuel Vadot adi,charge-pump-current: 795def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 805def4c47SEmmanuel Vadot description: Charge pump current in mA. Default = 2500mA. 815def4c47SEmmanuel Vadot 825def4c47SEmmanuel Vadot adi,muxout-select: 835def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 845def4c47SEmmanuel Vadot minimum: 0 855def4c47SEmmanuel Vadot maximum: 6 865def4c47SEmmanuel Vadot description: | 875def4c47SEmmanuel Vadot On chip multiplexer output selection. 885def4c47SEmmanuel Vadot Valid values for the multiplexer output are: 895def4c47SEmmanuel Vadot 0: Three-State Output (default) 905def4c47SEmmanuel Vadot 1: DVDD 915def4c47SEmmanuel Vadot 2: DGND 925def4c47SEmmanuel Vadot 3: R-Counter output 935def4c47SEmmanuel Vadot 4: N-Divider output 945def4c47SEmmanuel Vadot 5: Analog lock detect 955def4c47SEmmanuel Vadot 6: Digital lock detect 965def4c47SEmmanuel Vadot 975def4c47SEmmanuel Vadot adi,low-spur-mode-enable: 985def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 995def4c47SEmmanuel Vadot description: Enables low spur mode. Default = Low noise mode. 1005def4c47SEmmanuel Vadot 1015def4c47SEmmanuel Vadot adi,cycle-slip-reduction-enable: 1025def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 1035def4c47SEmmanuel Vadot description: Enables cycle slip reduction. 1045def4c47SEmmanuel Vadot 1055def4c47SEmmanuel Vadot adi,charge-cancellation-enable: 1065def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 1075def4c47SEmmanuel Vadot description: 1085def4c47SEmmanuel Vadot Enabled charge pump charge cancellation for integer-N modes. 1095def4c47SEmmanuel Vadot 1105def4c47SEmmanuel Vadot adi,anti-backlash-3ns-enable: 1115def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 1125def4c47SEmmanuel Vadot description: 1135def4c47SEmmanuel Vadot Enables 3ns antibacklash pulse width for integer-N modes. 1145def4c47SEmmanuel Vadot 1155def4c47SEmmanuel Vadot adi,band-select-clock-mode-high-enable: 1165def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 1175def4c47SEmmanuel Vadot description: Enables faster band selection logic. 1185def4c47SEmmanuel Vadot 1195def4c47SEmmanuel Vadot adi,12bit-clk-divider: 1205def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 1215def4c47SEmmanuel Vadot description: 1225def4c47SEmmanuel Vadot Clock divider value used when adi,12bit-clkdiv-mode != 0 1235def4c47SEmmanuel Vadot 1245def4c47SEmmanuel Vadot adi,clk-divider-mode: 1255def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 1265def4c47SEmmanuel Vadot enum: [0, 1, 2] 1275def4c47SEmmanuel Vadot description: | 1285def4c47SEmmanuel Vadot Valid values for the clkdiv mode are: 1295def4c47SEmmanuel Vadot 0: Clock divider off (default) 1305def4c47SEmmanuel Vadot 1: Fast lock enable 1315def4c47SEmmanuel Vadot 2: Phase resync enable 1325def4c47SEmmanuel Vadot 1335def4c47SEmmanuel Vadot adi,aux-output-enable: 1345def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 1355def4c47SEmmanuel Vadot description: Enables auxiliary RF output. 1365def4c47SEmmanuel Vadot 1375def4c47SEmmanuel Vadot adi,aux-output-fundamental-enable: 1385def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 1395def4c47SEmmanuel Vadot description: | 1405def4c47SEmmanuel Vadot Selects fundamental VCO output on the auxiliary RF output. 1415def4c47SEmmanuel Vadot Default = Output of RF dividers. 1425def4c47SEmmanuel Vadot 1435def4c47SEmmanuel Vadot adi,mute-till-lock-enable: 1445def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 1455def4c47SEmmanuel Vadot description: Enables Mute-Till-Lock-Detect function. 1465def4c47SEmmanuel Vadot 1475def4c47SEmmanuel Vadot adi,output-power: 1485def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 1495def4c47SEmmanuel Vadot enum: [0, 1, 2, 3] 1505def4c47SEmmanuel Vadot description: | 1515def4c47SEmmanuel Vadot Output power selection. 1525def4c47SEmmanuel Vadot Valid values for the power mode are: 1535def4c47SEmmanuel Vadot 0: -4dBm (default) 1545def4c47SEmmanuel Vadot 1: -1dBm 1555def4c47SEmmanuel Vadot 2: +2dBm 1565def4c47SEmmanuel Vadot 3: +5dBm 1575def4c47SEmmanuel Vadot 1585def4c47SEmmanuel Vadot adi,aux-output-power: 1595def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 1605def4c47SEmmanuel Vadot enum: [0, 1, 2, 3] 1615def4c47SEmmanuel Vadot description: | 1625def4c47SEmmanuel Vadot Auxiliary output power selection. 1635def4c47SEmmanuel Vadot Valid values for the power mode are: 1645def4c47SEmmanuel Vadot 0: -4dBm (default) 1655def4c47SEmmanuel Vadot 1: -1dBm 1665def4c47SEmmanuel Vadot 2: +2dBm 1675def4c47SEmmanuel Vadot 3: +5dBm 1685def4c47SEmmanuel Vadot 1695def4c47SEmmanuel Vadotrequired: 1705def4c47SEmmanuel Vadot - compatible 1715def4c47SEmmanuel Vadot - reg 1725def4c47SEmmanuel Vadot - clocks 1735def4c47SEmmanuel Vadot 1748bab661aSEmmanuel VadotallOf: 1758bab661aSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 1768bab661aSEmmanuel Vadot 1778bab661aSEmmanuel VadotunevaluatedProperties: false 1788bab661aSEmmanuel Vadot 1795def4c47SEmmanuel Vadotexamples: 1805def4c47SEmmanuel Vadot - | 1815def4c47SEmmanuel Vadot spi { 1825def4c47SEmmanuel Vadot #address-cells = <1>; 1835def4c47SEmmanuel Vadot #size-cells = <0>; 1845def4c47SEmmanuel Vadot 1855def4c47SEmmanuel Vadot pll@4 { 1865def4c47SEmmanuel Vadot compatible = "adi,adf4351"; 1875def4c47SEmmanuel Vadot reg = <4>; 1885def4c47SEmmanuel Vadot spi-max-frequency = <10000000>; 1895def4c47SEmmanuel Vadot clocks = <&clk0_ad9523 9>; 1905def4c47SEmmanuel Vadot clock-names = "clkin"; 1915def4c47SEmmanuel Vadot adi,channel-spacing = <10000>; 1925def4c47SEmmanuel Vadot adi,power-up-frequency = <2400000000>; 1935def4c47SEmmanuel Vadot adi,phase-detector-polarity-positive-enable; 1945def4c47SEmmanuel Vadot adi,charge-pump-current = <2500>; 1955def4c47SEmmanuel Vadot adi,output-power = <3>; 1965def4c47SEmmanuel Vadot adi,mute-till-lock-enable; 1975def4c47SEmmanuel Vadot }; 1985def4c47SEmmanuel Vadot }; 1995def4c47SEmmanuel Vadot... 200